21 lines
700 B
HTML
21 lines
700 B
HTML
{% set blog_pages=[] %}
|
|
{% for p in pages %}
|
|
{% if p.page.meta.post %}
|
|
<div style="display: none">
|
|
{{ blog_pages.append(p.page) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% for pg in blog_pages | sort(attribute='meta.post', reverse=True) %}
|
|
<div>
|
|
<a href="{{ pg.abs_url }}" target="_blank" style="color: unset;">
|
|
<h2 style="margin-top: 0px; margin-bottom: 0px">{{ pg.title }}</h2>
|
|
<h3 style="margin-top: 0px; margin-bottom: 0px">Created by: {{ pg.meta.authors[0] }}</h3>
|
|
<p style="margin-top: 0px; margin-bottom: 0px">Tags: {{ pg.meta.tags }}</p>
|
|
<p style="margin-top: 0px; font-style: oblique">{{ pg.content | striptags | truncate(150) }}</p>
|
|
</a>
|
|
</div>
|
|
<hr>
|
|
{% endfor %}
|