the home site for me: also iteration 3 or 4 of my site
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add h-entry

+58 -43
+58 -43
templates/blog-page.html
··· 1 1 {% extends "base.html" %} {% block content %} 2 2 <div><a href="..">..</a>/<span class="accent-data">{{ page.slug }}</span></div> 3 - <time datetime="{{ page.date }}" 4 - >Published on: 5 - <span class="accent-data" 6 - >{{ page.date | split(pat="T") | first }}</span 7 - ></time 8 - > 9 - {% if config.extra.author and config.extra.display_author == true %} 10 - <address rel="author"> 11 - By <span class="accent-data">{{config.extra.author}}</span> 12 - </address> 13 - {% endif %} 14 - <h1>{{ page.title }}</h1> 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" 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.toc %} 27 + <h2>Table of contents</h2> 28 + <ul> 29 + {% for h1 in page.toc %} 30 + <li> 31 + <a href="{{ h1.permalink | safe }}">{{ h1.title }}</a> 32 + {% if h1.children %} 33 + <ul> 34 + {% for h2 in h1.children %} 35 + <li> 36 + <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> 37 + <ul> 38 + {% for h3 in h2.children %} 39 + <li> 40 + <a href="{{ h3.permalink | safe }}" 41 + >{{ h3.title }}</a 42 + > 43 + </li> 44 + {% endfor %} 45 + </ul> 46 + </li> 47 + {% endfor %} 48 + </ul> 49 + {% endif %} 50 + </li> 51 + {% endfor %} 52 + </ul> 53 + {% endif %} 15 54 16 - {% if page.toc and page.extra.toc %} 17 - <h2>Table of contents</h2> 18 - <ul> 19 - {% for h1 in page.toc %} 20 - <li> 21 - <a href="{{ h1.permalink | safe }}">{{ h1.title }}</a> 22 - {% if h1.children %} 23 - <ul> 24 - {% for h2 in h1.children %} 25 - <li> 26 - <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> 27 - <ul> 28 - {% for h3 in h2.children %} 29 - <li> 30 - <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> 31 - </li> 32 - {% endfor %} 33 - </ul> 34 - </li> 35 - {% endfor %} 36 - </ul> 37 - {% endif %} 38 - </li> 39 - {% endfor %} 40 - </ul> 41 - {% endif %} {{ page.content | safe }} 55 + <div class="e-content p-name">{{ page.content | safe }}</div> 42 56 43 - <p class="tags-data"> 44 - {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} 45 - <a href="/tags/{{ tag | slugify }}">|{{ tag }}|</a> 46 - {% endfor %} {% endif %} 47 - </p> 57 + <p class="tags-data"> 58 + {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} 59 + <a href="/tags/{{ tag | slugify }}" class="p-category">|{{ tag }}|</a> 60 + {% endfor %} {% endif %} 61 + </p> 62 + </article> 48 63 {% endblock content %}