123456789101112131415161718192021222324252627282930313233343536373839404142 |
- {% extends "base_2017.html" %}
- {% block lang %}{{ note.lang }}{% endblock lang %}
- {% block title %}{{ note.title }}{% endblock %}
- {% block extra_head %}
- <!-- Canonical URL for SEO purposes -->
- <link rel="canonical" href="https://larlet.fr{{ note.url }}">
- {% endblock %}
- {% block content %}
- <h1>{{ note.title }}</h1>
- <time>{{ note.date }}</time>
- <article>
- {{ note.content }}
- </article>
- {% endblock content %}
-
- {% block aside %}
- {% if note.lang == 'en' %}
- <aside>
- <p>
- Other articles in English:
- {% for post_en in published_posts_en %}
- <a href="{{ post_en.url }}">{{ post_en.title }}</a>{% if not loop.last %},{% else %}.{% endif %}
- {% endfor %}
- Oh, and most of <a href="/david/stream/2018/">the 2018 thoughts</a>.
- </p>
- </aside>
- {% else %}
- {{ super() }}
- {% endif %}
- {% endblock aside%}
-
- {% block nav %}
- <nav>
- <p>
- <a rel=prev href="{{ prev.url }}">← {{ prev.title }}</a> | <a href="/david/stream/{{ note.date.year }}/" title="Retour à la liste complète">↑</a>{% if next %} | <a rel=next href="{{ next.url }}">{{ next.title }} →</a>{% endif %}
- </p>
- </nav>
- {% endblock nav %}
-
- {% block extrajs %}
- {% include 'service_workers.html' %}
- {% endblock %}
|