diff options
author | EuAndreh <eu@euandre.org> | 2021-01-17 17:33:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-17 17:33:17 -0300 |
commit | ac535d95b70ce0df12dc17e71c720dab97711d62 (patch) | |
tree | 3d40dfc6839e61a14dd0e6e86a754e644c62782b | |
parent | slides.html: Add <noscript> section (diff) | |
download | euandre.org-ac535d95b70ce0df12dc17e71c720dab97711d62.tar.gz euandre.org-ac535d95b70ce0df12dc17e71c720dab97711d62.tar.xz |
_layouts/slides.html: tabs -> spaces
Diffstat (limited to '')
-rw-r--r-- | _layouts/slides.html | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/_layouts/slides.html b/_layouts/slides.html index 64f28fc..14e3a86 100644 --- a/_layouts/slides.html +++ b/_layouts/slides.html @@ -1,9 +1,9 @@ <!DOCTYPE html> <html lang="{{ page.lang }}"> - <head> - <meta charset="UTF-8"> + <head> + <meta charset="UTF-8"> <link rel="icon" type="image/svg+xml" href="/static/favicon.svg"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="alternate" type="application/atom+xml" href="{{ site.t.slides.feed.url[page.lang] }}" hreflang="{{ page.lang}}" title="{{ site.t.slides.feed.title[page.lang] }}" /> <title>{{ page.title }} - EuAndreh</title> @@ -29,33 +29,33 @@ <meta property="og:type" content="article" /> <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" /> - <link rel="stylesheet" href="/vendor/reveal.js/dist/reset.css"> - <link rel="stylesheet" href="/vendor/reveal.js/dist/reveal.css"> - <link rel="stylesheet" href="/vendor/reveal.js/dist/theme/black.css" id="theme"> - <link rel="stylesheet" href="/vendor/reveal.js/plugin/highlight/monokai.css" id="highlight-theme"> - <link rel="stylesheet" href="/slides.css"> - </head> - <body> + <link rel="stylesheet" href="/vendor/reveal.js/dist/reset.css"> + <link rel="stylesheet" href="/vendor/reveal.js/dist/reveal.css"> + <link rel="stylesheet" href="/vendor/reveal.js/dist/theme/black.css" id="theme"> + <link rel="stylesheet" href="/vendor/reveal.js/plugin/highlight/monokai.css" id="highlight-theme"> + <link rel="stylesheet" href="/slides.css"> + </head> + <body> <noscript> - <p> + <p> This page uses JavaScript to render the HTML slides on the browser - with <a href="https://revealjs.com">reveal.js</a>. - </p> + with <a href="https://revealjs.com">reveal.js</a>. + </p> - <p> - I don't (yet) generate PDF versions of the slides for people without JavaScript, but - you can see the markdown for the presentation here: - <br /> - {% capture url %} - https://git.euandreh.xyz/website/tree/_slides/{{ page.date | date: "%Y-%m-%d" }}-{{ page.ref }}.slides - {% endcapture %} - <a href="{{ url }}"> - {{ url }} - </a> - </p> + <p> + I don't (yet) generate PDF versions of the slides for people without JavaScript, but + you can see the markdown for the presentation here: + <br /> + {% capture url %} + https://git.euandreh.xyz/website/tree/_slides/{{ page.date | date: "%Y-%m-%d" }}-{{ page.ref }}.slides + {% endcapture %} + <a href="{{ url }}"> + {{ url }} + </a> + </p> </noscript> - <div class="reveal"> - <div class="slides"> + <div class="reveal"> + <div class="slides"> <section data-markdown data-separator="^---$" data-separator-notes="^\?\?\?$"> @@ -68,19 +68,19 @@ </div> </div> - <script src="/vendor/reveal.js/dist/reveal.js"></script> - <script src="/vendor/reveal.js/plugin/notes/notes.js"></script> - <script src="/vendor/reveal.js/plugin/markdown/markdown.js"></script> - <script src="/vendor/reveal.js/plugin/highlight/highlight.js"></script> - <script> - Reveal.initialize({ - hash: true, + <script src="/vendor/reveal.js/dist/reveal.js"></script> + <script src="/vendor/reveal.js/plugin/notes/notes.js"></script> + <script src="/vendor/reveal.js/plugin/markdown/markdown.js"></script> + <script src="/vendor/reveal.js/plugin/highlight/highlight.js"></script> + <script> + Reveal.initialize({ + hash: true, controls: false, slideNumber: "c/t", transition: "none", progress: false, - plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ] - }); - </script> - </body> + plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ] + }); + </script> + </body> </html> |