the home site for me: also iteration 3 or 4 of my site
at main 1.7 kB view raw
1{% extends "base.html" %} {% block content %} 2<div><a href="..">..</a>/<span class="accent-data">{{ page.slug }}</span></div> 3<article class="h-entry"> 4 <a class="u-url" href="{{ page.permalink }}" style="display: none"> </a> 5 <time 6 datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S%z') }}" 7 class="dt-published" 8 >Published on: 9 <span class="accent-data" 10 >{{ page.date | split(pat="T") | first }}</span 11 ></time 12 > 13 {% if config.extra.author and config.extra.display_author == true %} 14 <address rel="author"> 15 By 16 <a 17 rel="author" 18 class="accent-data p-author h-card text-glow" 19 href="https://dunkirk.sh" 20 >{{config.extra.author}}</a 21 > 22 </address> 23 {% endif %} 24 <h1>{{ page.title }}</h1> 25 26 {% if page.toc and page.extra["has_toc"] %} 27 <h2>Table of contents</h2> 28 <ul> 29 {% for h2 in page.toc %} 30 <li> 31 <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> 32 <ul> 33 {% for h3 in h2.children %} 34 <li> 35 <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> 36 </li> 37 {% endfor %} 38 </ul> 39 </li> 40 {% endfor %} 41 </ul> 42 {% endif %} 43 44 <div class="e-content p-name">{{ page.content | safe }}</div> 45 46 <p class="tags-data"> 47 {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} 48 <a href="/tags/{{ tag | slugify }}" class="p-category text-glow" 49 >|{{ tag }}|</a 50 > 51 {% endfor %} {% endif %} 52 </p> 53</article> 54{% endblock content %}