diff options
author | EuAndreh <eu@euandre.org> | 2024-11-17 20:15:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-17 20:18:21 -0300 |
commit | cfd0246b241cb6e58153e68f7e30ed56b9bf054b (patch) | |
tree | 206deba2cec12187e835c64b8a7172277be1a2cf /_layouts | |
parent | rm tests/assert-frontmatter.sh (diff) | |
download | euandre.org-cfd0246b241cb6e58153e68f7e30ed56b9bf054b.tar.gz euandre.org-cfd0246b241cb6e58153e68f7e30ed56b9bf054b.tar.xz |
Remove jekyll infrastructure setup
Diffstat (limited to '')
-rw-r--r-- | _layouts/default.html | 137 | ||||
-rw-r--r-- | _layouts/post.html | 43 | ||||
-rw-r--r-- | _layouts/slides.html | 91 |
3 files changed, 0 insertions, 271 deletions
diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 991d239..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,137 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ page.lang }}"> - <head> - <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" type="text/css" href="/styles.css" /> - <link rel="icon" type="image/svg+xml" href="/static/lord-favicon.svg" /> - <link rel="alternate" type="application/atom+xml" href="{{ site.t.articles.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang }}" title="{{ site.t.articles.feed.title[page.lang] }}" /> - <link rel="alternate" type="application/atom+xml" href="{{ site.t.pastebins.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang }}" title="{{ site.t.pastebins.feed.title[page.lang] }}" /> - <link rel="alternate" type="application/atom+xml" href="{{ site.t.tils.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang }}" title="{{ site.t.tils.feed.title[page.lang] }}" /> - <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] }}" /> - {% if site.flags.podcast %} - <link rel="alternate" type="application/atom+xml" href="{{ site.t.podcasts.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang }}" title="{{ site.t.podcasts.feed.title[page.lang] }}" /> - {% endif %} - <link rel="alternate" type="application/atom+xml" href="{{ site.t.screencasts.feed.url[page.lang] | absolute_url }}" hreflang="{{ page.lang }}" title="{{ site.t.screencasts.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 }}" /> - - {% if page.date %} - <meta property="og:type" content="article" /> - <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" /> - {% endif %} - </head> - <body> - <header> - <nav> - <div class="nav-row"> - <a href="{% link {{ site.t.articles.url[page.lang] }} %}"><web>EuAndreh</web></a> - <a href="{% link {{ site.t.tils.url[page.lang] }} %}">{{ site.t.tils.name[page.lang] }}</a> - <a href="{% link {{ site.t.slides.url[page.lang] }} %}">{{ site.t.slides.name[page.lang] }}</a> - <a href="{% link {{ site.t.pastebins.url[page.lang] }} %}">{{ site.t.pastebins.name[page.lang] }}</a> - {% if site.flags.podcast %} - <a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a> - {% endif %} - <a href="{% link {{ site.t.screencasts.url[page.lang] }} %}">{{ site.t.screencasts.name[page.lang] }}</a> - {% if site.flags.music %} - <a href="{% link {{ site.t.music.url[page.lang] }} %}">{{ site.t.music.name[page.lang] }}</a> - {% endif %} - <a href="{% link {{ site.t.about.url[page.lang] }} %}">{{ site.t.about.name[page.lang] }}</a> - </div> - {% if page.ref != nil %} - <ul> - {% if page.ref == "root" %} - {% assign lpages=site.pages | where:"ref", "index" | sort: 'lang' %} - {% else %} - {% assign lpages=site.pages | where:"ref", page.ref | sort: 'lang' %} - {% endif %} - {% for lpage in lpages %} - <li> - <a href="{{ lpage.url }}" class="{{ lpage.lang }}">{{ lpage.lang }}</a> - </li> - {% endfor %} - - {% assign larticles=site.articles | where:"ref", page.ref | sort: 'lang' %} - {% for larticle in larticles %} - <li> - <a href="{{ larticle.url }}" class="{{ larticle.lang }}">{{ larticle.lang }}</a> - </li> - {% endfor %} - - {% assign ltils=site.tils | where:"ref", page.ref | sort: 'lang' %} - {% for ltil in ltils %} - <li> - <a href="{{ ltil.url }}" class="{{ ltil.lang }}">{{ ltil.lang }}</a> - </li> - {% endfor %} - - {% assign lpastebins=site.pastebins | where:"ref", page.ref | sort: 'lang' %} - {% for lpastebin in lpastebins %} - <li> - <a href="{{ lpastebin.url }}" class="{{ lpastebin.lang }}">{{ lpastebin.lang }}</a> - </li> - {% endfor %} - - {% assign lpodcasts=site.podcasts | where:"ref", page.ref | sort: 'lang' %} - {% for lpodcast in lpodcasts %} - <li> - <a href="{{ lpodcast.url }}" class="{{ lpodcast.lang }}">{{ lpodcast.lang }}</a> - </li> - {% endfor %} - - {% assign lscreencasts=site.screencasts | where:"ref", page.ref | sort: 'lang' %} - {% for lscreencast in lscreencasts %} - <li> - <a href="{{ lscreencast.url }}" class="{{ lscreencast.lang }}">{{ lscreencast.lang }}</a> - </li> - {% endfor %} - </ul> - {% else %} - {% link break-build-if-any-page-has-a-missing-ref %} - {% endif %} - </nav> - </header> - - <main> - <article> - <h1> - {{ page.title }} - </h1> - {{ content }} - </article> - </main> - - <footer> - <ul> - <li> - <img class="simple-icon" src="/static/envelope.svg" alt="{{ site.t.alt.envelope_icon[page.lang] }}" /> - <a href="mailto:{{ site.author.email }}">{{ site.author.email }}</a> - </li> - <li> - <img class="simple-icon" src="/static/lock.svg" alt="{{ site.t.alt.lock_icon[page.lang] }}" /> - <a href="/public.asc">81F90EC3CD356060</a> - </li> - </ul> - <p> - {{ site.t.footer[page.lang] }} - </p> - </footer> - </body> -</html> diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index 345f781..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -layout: default ---- -<div class="header"> - {{ site.t.posted_on[page.lang] }} - {% include i18n-date.html date=page.date %} - - {% if page.updated_at %} - <br /> - {{ site.t.updated_at[page.lang] }} - {% include i18n-date.html date=page.updated_at %} - {% endif %} -</div> - -{% if page.audio %} - {% assign ogg=page.url | replace_first: "/", "" | replace: ".html", ".ogg" %} - <audio controls> - <source src="{% link {{ ogg }} %}" type="audio/ogg" /> - </audio> - - <div class="torrent-link"> - <a href="{{ ogg | absolute_url | append: ".torrent" }}">torrent</a> - </div> -{% endif %} - -{% if page.video %} - {% assign webm=page.url | replace_first: "/", "" | replace: ".html", ".webm" %} - <video width="320" height="240" controls> - <source src="{% link {{ webm }} %}" type="video/webm" /> - </video> - - <div class="torrent-link"> - <a href="{{ webm | absolute_url | append: ".torrent" }}">torrent</a> - </div> -{% endif %} - -{{ content }} - -<div class="post-footer"> - <p> - {% include public-inbox.html %} - </p> -</div> 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> |