Initial commit -- migration to zola
This commit is contained in:
commit
a79e7faa87
55 changed files with 375 additions and 0 deletions
27
templates/post.html
Normal file
27
templates/post.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}
|
||||
{{page.title}} |
|
||||
{% endblock page_title %}
|
||||
|
||||
{% block nav %}
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty.
|
||||
You need to use the paginator object -->
|
||||
{% set section = get_section(path=page.ancestors | last) %}
|
||||
<li><a href="{{ section.permalink | safe }}">{{ section.title | lower }}/</a></li>
|
||||
{% for p in section.pages %}
|
||||
<li><a href="{{ p.permalink | safe }}">{{ p.slug }}/</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock nav %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
|
||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||
{{ page.content | safe }}
|
||||
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue