Revert Commit inicial - quickstart do Pelican Remover README Teste de Action para Github Actions Clean repo Making it work with Pelican and fly.io Novo tema e tracking com Umami
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block content_title %}{% endblock %}
|
|
{% block content %}
|
|
{% if articles %}
|
|
{% for article in articles %}
|
|
|
|
{# First item #}
|
|
{% if loop.first %}
|
|
<header>
|
|
<h1><a href="{{ SITEURL }}" id="site-title"> {# {{ SITENAME }} #} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> {#:#} <a href="{{ SITEURL }}/{{ article.url }}" id="page-title">{{ article.title }}</a></h1>
|
|
{% if not HIDE_DATE %}<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>{% endif %}
|
|
</header>
|
|
|
|
<article>
|
|
{{ article.content }}{% include 'comments.html' %}
|
|
</article>
|
|
{% if loop.length > 1 %}
|
|
<section id="article-list">
|
|
<h2>All posts</h2>
|
|
<ol>
|
|
{% endif %}
|
|
{# other items #}
|
|
{% else %}
|
|
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></li>
|
|
{% endif %}
|
|
{% if loop.length > 1 %}
|
|
</ol>
|
|
</section><!-- #article-list -->
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% else %}
|
|
No posts found.
|
|
{% endif %}
|
|
{% endblock content %}
|