edgarluque.com/templates/blog-page.html
2023-05-19 12:15:50 +02:00

28 lines
931 B
HTML

{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock content %}
{% block seo %}
<meta name="description" content="{{ page.description }}" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:type" content="article" />
<meta property="twitter:title" content="{{ page.title }}" />
<meta property="twitter:description" content="{{ page.description }}" />
{% endblock %}
{% block content %}
<article>
<h1 class="title">
{{ page.title }}
</h1>
<p class="blog-date"><strong><time datetime="{{ page.date }}">{{ page.date }}</time></strong></p>
<p class="blog-date">
{% for category in page.taxonomies["categories"] %}
<a class="category-link capitalize" href="{{ get_taxonomy_url(kind="categories", name=category) | safe }}">{{ category }}</a>
{% endfor %}</p>
{{ page.content | safe }}
</article>
{% endblock content %}