summaryrefslogtreecommitdiff
path: root/_layouts/slides.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-11-17 20:15:02 -0300
committerEuAndreh <eu@euandre.org>2024-11-17 20:18:21 -0300
commitcfd0246b241cb6e58153e68f7e30ed56b9bf054b (patch)
tree206deba2cec12187e835c64b8a7172277be1a2cf /_layouts/slides.html
parentrm tests/assert-frontmatter.sh (diff)
downloadeuandre.org-cfd0246b241cb6e58153e68f7e30ed56b9bf054b.tar.gz
euandre.org-cfd0246b241cb6e58153e68f7e30ed56b9bf054b.tar.xz
Remove jekyll infrastructure setup
Diffstat (limited to '_layouts/slides.html')
-rw-r--r--_layouts/slides.html91
1 files changed, 0 insertions, 91 deletions
diff --git a/_layouts/slides.html b/_layouts/slides.html
deleted file mode 100644
index b752a4f..0000000
--- a/_layouts/slides.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ page.lang }}">
- <head>
- <meta charset="UTF-8">
- <link rel="icon" type="image/svg+xml" href="/static/lord-favicon.svg">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="alternate" type="application/atom+xml" href="{{ site.t.slides.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang}}" title="{{ site.t.slides.feed.title[page.lang] }}" />
-
- <title>{{ page.title }} - EuAndreh</title>
-
- <meta property="og:site_name" content="{{ site.title }}" />
- <meta name="author" content="{{ site.author.name }}" />
- <meta property="og:locale" content="{{ page.lang }}" />
- <meta property="og:title" content="{{ page.title | xml_escape }}" />
- {% capture raw_description %}
- {% if page.description %}
- {{ page.description }}
- {% else %}
- {{ site.t.description[page.lang] }}
- {% endif %}
- {% endcapture %}
- {% assign description = raw_description | strip_html | strip %}
- <meta name="description" content="{{ description }}" />
- <meta property="og:description" content="{{ description }}" />
-
- <link rel="canonical" href="{{ page.url | absolute_url }}" />
- <meta property="og:url" content="{{ page.url | absolute_url }}" />
-
- <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>
- <noscript>
- <p>
- This page uses JavaScript to render the HTML slides on the browser
- 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://euandre.org/git/euandre.org/tree/_slides/{{ page.date | date: "%Y-%m-%d" }}-{{ page.ref }}.slides
- {% endcapture %}
- <a href="{{ url }}">
- {{ url }}
- </a>
- </p>
-
- <p>
- See also the <a href="{% link {{ page.article }} %}">prose version of this presentation</a>.
- </p>
- </noscript>
- <div class="reveal">
- <div class="slides">
- <section data-markdown
- data-separator="^---$"
- data-separator-notes="^\?\?\?$">
- <textarea data-template>
-{{ content }}
-1. {{ site.t.slides.these_slides[page.lang] }}: [{{ site.tld }}/{{ site.t.slides.url[page.lang] | replace: '.md', '.html' }}]({% link {{ site.t.slides.url[page.lang] }} %})
-1. [{{ site.t.slides.prose_version[page.lang]}}]({% link {{ page.article }} %})
-1. [view source](https://euandre.org/git/euandre.org/tree/{{ page.path }})
- </textarea>
- </section>
- </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,
- controls: false,
- slideNumber: "c/t",
- transition: "none",
- progress: false,
- plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
- });
- </script>
- </body>
-</html>