Add Zola templates and browser-tested site scaffold
This commit is contained in:
parent
fd5fc944e6
commit
a33673243e
1 changed files with 2114 additions and 0 deletions
13
templates/blog.html
Normal file
13
templates/blog.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Blog · Quorate{% endblock title %}
|
||||
{% block main %}
|
||||
<h1>{{ section.title }}</h1>
|
||||
<ul class="posts">
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink }}">
|
||||
{% if page.extra.thumbnail %}<img src="{{ page.extra.thumbnail }}" alt="">{% endif %}
|
||||
<div><h2>{{ page.title }}</h2><p>{{ page.description }}</p><time datetime="{{ page.date }}">{{ page.date }}</time></div>
|
||||
</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock main %}
|
||||
Loading…
Reference in a new issue