summaryrefslogtreecommitdiff
path: root/_layouts/distill.html
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-10-03 00:35:46 -0500
committerKarl Hallsby <karl@hallsby.com>2021-10-03 02:16:55 -0500
commite2c06d2681e18946ab6c3e3e6075aed92a4d13be (patch)
treeb30dce94387f4717394277932f691519e0281c44 /_layouts/distill.html
parenta10ad0a99ba6e44a35253c3bcaff80c90e99348e (diff)
Change to al-folio theme
Theme at: https://github.com/alshedivat/al-folio
Diffstat (limited to '_layouts/distill.html')
-rw-r--r--_layouts/distill.html89
1 files changed, 89 insertions, 0 deletions
diff --git a/_layouts/distill.html b/_layouts/distill.html
new file mode 100644
index 0000000..a038990
--- /dev/null
+++ b/_layouts/distill.html
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ {% include head.html %}
+ {% include scripts/mathjax.html %}
+ <script src="{{ '/assets/js/distillpub/template.v2.js' | relative_url }}"></script>
+ <script src="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }}"></script>
+ <script src="{{ '/assets/js/distillpub/overrides.js' | relative_url }}"></script>
+ {% if page._styles %}
+ <style type="text/css">
+ {{ page._styles }}
+ </style>
+ {% endif %}
+ </head>
+
+ <d-front-matter>
+ <script async type="text/json">{
+ "title": "{{ page.title }}",
+ "description": "{{ page.description }}",
+ "published": "{{ page.date | date: '%B %-d, %Y' }}",
+ "authors": [
+ {% for author in page.authors %}
+ {
+ "author": "{{ author.name }}",
+ "authorURL": "{{ author.url }}",
+ "affiliations": [
+ {
+ "name": "{{ author.affiliations.name }}",
+ "url": "{{ author.affiliations.url }}"
+ }
+ ]
+ }{% if forloop.last == false %},{% endif %}
+ {% endfor %}
+ ],
+ "katex": {
+ "delimiters": [
+ {
+ "left": "$",
+ "right": "$",
+ "display": false
+ },
+ {
+ "left": "$$",
+ "right": "$$",
+ "display": true
+ }
+ ]
+ }
+ }</script>
+ </d-front-matter>
+
+ <body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}">
+
+ <!-- Header -->
+
+ {% include header.html %}
+
+ <!-- Content -->
+
+ <div class="post distill">
+
+ <d-title>
+ <h1>{{ page.title }}</h1>
+ <p>{{ page.description }}</p>
+ </d-title>
+
+ <d-byline></d-byline>
+
+ <d-article>
+ {{ content }}
+ </d-article>
+
+ <d-appendix>
+ <d-footnote-list></d-footnote-list>
+ <d-citation-list></d-citation-list>
+ </d-appendix>
+
+ </div>
+
+ <!-- Footer -->
+
+ {% include footer.html %}
+
+ </body>
+
+ <d-bibliography src="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }}">
+ </d-bibliography>
+
+</html>