diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..0cabcdb --- /dev/null +++ b/templates/index.html @@ -0,0 +1,18 @@ +{% extends 'layout.html' %} + +{% block content %} +<article itemscope itemtype="http://schema.org/Article"> + <div> + <h1>{{ entry['title'] }}</h1> + <time itemprop="datePublished" datetime="{{ entry['date'] }}">{{ entry['date'] }}</time> + </div> + <div> + {{ content }} + </div> +</article> +{% if older %} +<div id="post-nav"> + <a class="older" href="{{ older['slug'] }}.html">Older</a> +</div> +{% endif %} +{% endblock %} |