~williamvds/website

website/templates/blog_article.html -rw-r--r-- 718 bytes
54454d97williamvds Update CV and PDF 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}
{% import "macros.html" as macros %}

{% block head %}
	<meta name="description" content="{{ page.description }}">
	<link rel="stylesheet" href="{{get_url(path="blog.css")}}"/>
{% endblock head %}

{% block header %}
	{{ macros::nav(path="/" ~ page.path) }}
{% endblock header %}

{% block content %}
	<main>
		<article>
			<h1><a href="{{ page.permalink }}">{{ page.title }}</a></h1>
			<span class=date>
				{{ page.date | date(format=config.extra.dateFmt) }}
			</span>
			<p class=subtitle>{{ page.description }}</p>
			{% if page.extra.table_of_contents %}
				{{ macros::page_toc(toc=page.toc) }}
			{% endif %}
			{{ page.content | safe }}
		</article>
	</main>
{% endblock content %}