This commit is contained in:
commit
7d7651c303
1 changed files with 569 additions and 0 deletions
21
templates/blog.html
Normal file
21
templates/blog.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="blog-content">
|
||||
<div class="title">
|
||||
<h1>{{ section.title }}</h1>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="blog-list">
|
||||
{% for page in section.pages %}
|
||||
<li class="blog-item">
|
||||
<div>
|
||||
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
</div>
|
||||
<span class="blog-item-meta">{{ page.date }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Loading…
Reference in a new issue