mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-30 20:42:37 +02:00
25 lines
898 B
HTML
25 lines
898 B
HTML
{% extends "base.html" %}
|
|
{% block content_title %}{% endblock %}
|
|
{% block content %}
|
|
{% if articles %}
|
|
<section id="content" class="body">
|
|
<ol id="posts-list" class="hfeed">
|
|
{% for article in articles_page.object_list %}
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ article.title}}">
|
|
<li><article class="hentry {{ article.category }}">
|
|
<span class='category {{ article.category }}'>{{ article.category }}</span>
|
|
<h1> {{ article.title }} </h1>
|
|
</article></li>
|
|
</a>
|
|
{% endfor %}
|
|
</ol><!-- /#posts-list -->
|
|
</section><!-- /#content -->
|
|
{% else %}
|
|
<section id="content" class="body">
|
|
<h2>Pages</h2>
|
|
{% for page in PAGES %}
|
|
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
|
{% endfor %}
|
|
</section>
|
|
{% endif %}
|
|
{% endblock content %}
|