JekyllHomepage2025/_layouts/slide.html

72 lines
2.0 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
{% if page.title %}
{{ page.title }} | {{ site.title }}
{% else %}
{{ site.title }}
{% endif %}
</title>
<meta name="author" content="{{ site.author }}" />
<!-- Description -->
{% if page.description %}
<meta name="description" content="{{ page.description }}" />
{% else %}
<meta name="description" content="{{ site.description }}">
{% endif %}
2021-06-16 00:37:53 +05:30
<link rel="stylesheet" href="{{ "/reveal.js/dist/reveal.css" }}"/>
{%if page.theme %}
2021-06-16 00:37:53 +05:30
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/" | append: page.theme | append: '.css' }}" id="theme"/>
{% else %}
2021-06-16 00:37:53 +05:30
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/white.css" }} "/>
{% endif %}
<!-- Code syntax highlighting -->
2021-06-16 00:37:53 +05:30
<link rel="stylesheet" href="{{ "/reveal.js/plugin/highlight/monokai.css" }}"/>
2021-06-16 00:37:53 +05:30
<link rel="canonical" href="{{ page.url | replace:'index.html','' }}">
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
{{ content }}
</div>
</div>
2021-06-16 00:37:53 +05:30
<script src="{{ "/reveal.js/dist/reveal.js" }}"></script>
<script src="/reveal.js/plugin/markdown/markdown.js"></script>
<script src="/reveal.js/plugin/notes/notes.js"></script>
<script src="/reveal.js/plugin/markdown/markdown.js"></script>
<script src="/reveal.js/plugin/highlight/highlight.js"></script>
<script>
// Full list of configuration options available at:
2021-06-16 00:37:53 +05:30
// https://revealjs.com/config/
Reveal.initialize({
2021-06-16 00:37:53 +05:30
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ],
controls: true,
progress: true,
history: true,
{%if page.transition %}
transition: '{{page.transition}}',
{% else %}
transition: 'slide', // none/fade/slide/convex/concave/zoom
{% endif %}
2021-06-16 00:37:53 +05:30
center: true
});
</script>
</body>
</html>