Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

stream_article.html 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "base_2017.html" %}
  2. {% block lang %}{{ note.lang }}{% endblock lang %}
  3. {% block title %}{{ note.title }}{% endblock %}
  4. {% block extra_head %}
  5. <!-- Canonical URL for SEO purposes -->
  6. <link rel="canonical" href="https://larlet.fr{{ note.url }}">
  7. {% endblock %}
  8. {% block content %}
  9. <h1>{{ note.title }}</h1>
  10. <time>{{ note.date }}</time>
  11. <article>
  12. {{ note.content }}
  13. </article>
  14. {% endblock content %}
  15. {% block aside %}
  16. {% if note.lang == 'en' %}
  17. <aside>
  18. <p>
  19. Other articles in English:
  20. {% for post_en in published_posts_en %}
  21. <a href="{{ post_en.url }}">{{ post_en.title }}</a>{% if not loop.last %},{% else %}.{% endif %}
  22. {% endfor %}
  23. Oh, and most of <a href="/david/stream/2018/">the 2018 thoughts</a>.
  24. </p>
  25. </aside>
  26. {% else %}
  27. {{ super() }}
  28. {% endif %}
  29. {% endblock aside%}
  30. {% block nav %}
  31. <nav>
  32. <p>
  33. <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 %}
  34. </p>
  35. </nav>
  36. {% endblock nav %}
  37. {% block extrajs %}
  38. {% include 'service_workers.html' %}
  39. {% endblock %}