article.html (1360B)
1 {% extends "page.html" %} 2 3 {% block header %} 4 <a href=".." id="back"> 5 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 62 37"><path fill="currentColor" d="m17.83 36.55.021-3.077-4.566-6.663-7.136-7.284v-2.052l8.136-8.284 2.557-3.661L15.247.775l-.723-.616h-1.048l-.725.62-2.5 6.442-9.753 9.797-.35 2.508 7.137 7.284 5.43 7.38 2.303 2.312 1.48.467m3.226-15.214 12.49-2.35 18.224-4.275 6.058-.115 1.978.837 2.052-.001 1.316-1.324v-1.054l-2.316-2.324-12.02-.135-18.76 4.522-18.728 2.561.13 2.429 1.326 1.325"/></svg> 6 </a> 7 {% if page.extra.type and page.extra.type == "link" %} 8 <h1><a href="{{ page.extra.link }}">{{ page.title }}</a></h1> 9 {% else %} 10 <h1><a href="{{ current_url }}">{{ page.title }}</a></h1> 11 {% endif %} 12 <small> 13 {% if page.extra is containing("book") %} 14 <i>{{ page.extra.book }}</i> by {{ page.extra.author }}. <br/> 15 Finished on {{ page.extra.finished | date(format="%B %d, %Y") }}. <br/> 16 Rating: {{ page.extra.rating }} <br/> 17 {% elif page.extra.type and page.extra.type == "work" %} 18 Began: {{ page.extra.start | date(format="%d %b %Y") }} <br/> 19 Concluded: {{ page.extra.end | date(format="%d %b %Y") }} 20 {% else %} 21 Published on <time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time> 22 {% endif %} 23 </small> 24 {% endblock header %}