dummy content
This commit is contained in:
parent
e3fcde63d8
commit
ee5145c21e
5 changed files with 918 additions and 0 deletions
42
templates/section.html
Normal file
42
templates/section.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{% import "_macros.html" as macros %}
|
||||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}{{ section.title }} | {{ super() }} {% endblock title %}
|
||||
|
||||
{% block header %}
|
||||
<header class="box-shadow">
|
||||
{{ macros::render_header() }}
|
||||
</header>
|
||||
{% endblock header %}
|
||||
|
||||
{% block content %}
|
||||
<div class="margin-left:20vw; margin-right: 20vw;">
|
||||
<div class="heading-text">{{ section.title }}</div>
|
||||
<ul>
|
||||
{% for page in section.pages %}
|
||||
<li>
|
||||
<div>
|
||||
<a href="{{ page.permalink | safe }}">
|
||||
<strong class="title article-title">{{ page.title }}</strong>
|
||||
</a>
|
||||
{% if page.date %}
|
||||
<div>
|
||||
<span>{{ page.date | date(format="%F") }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if page.summary %}
|
||||
<div itemprop="summary" class="content article-body">
|
||||
{{ page.summary | safe }}
|
||||
<nav class="readmore">
|
||||
<a itemprop="url" href="{{ page.permalink | safe }}">Read
|
||||
More »
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue