this repo has no description
at master 1.3 kB view raw
1{% import "macros/head.html" as head -%} 2{% import "macros/toc.html" as toc -%} 3{% extends "index.html" -%} 4 5{%- block math -%} 6 {% if page.extra.math %} 7 {{ head::katex() }} 8 {% endif %} 9{%- endblock math -%} 10 11{%- block title %} 12 <title>{{ page.title }} - {{ config.extra.author }}</title> 13 {# TODO: make some kind of social media linking, i guess? #} 14 {#%- include "snippets/social.html" %#} 15{%- endblock title -%} 16 17{%- block main -%} 18 <article class="post"> 19 <header> 20 <h1 class="post-title"> 21 <a href="{{ page.permalink }}">{{ page.title }}</a> 22 </h1> 23 {{ posts::meta(page=page, author=config.extra.show_author) }} 24 {{ posts::langs(page=page) }} 25 26 {%- block ToC -%} 27 {%- if page.extra.ToC or config.extra.ToC -%} 28 {{ toc::toc(t=page.toc) }} 29 {%- endif -%} 30 {%- endblock ToC -%} 31 </header> 32 33 {#- Skipping logic for cover as was in original Terminal theme -#} 34 35 {{ page.content | safe }} 36 37 {{ comments::comments() }} 38 {# TODO: Decide if any sort of commenting functionality is desired? #} 39 {#%- include "snippets/comments.html" -%#} 40 </article> 41{%- endblock main -%}