[Markdown (mostly)] This is the repo of my blog https://libskia.so/b/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4KB

  1. {%- if article.lang %}{% set DEFAULT_LANG = article.lang %}{% endif -%}
  2. {% extends "base.html" %}
  3. {% block headers %}
  4. {{ super() }}
  5. <meta name="keywords" content="{{ article.tags|join(', ') }}" />
  6. <link rel="stylesheet" media="not print" type="text/css" href="{{ SITEURL }}/theme/css/pygments.css" />
  7. {% endblock %}
  8. {% block title %}{{ article.title }} — {{ super() }}{% endblock %}
  9. {%- block content %}
  10. <header class="post-header">
  11. <h1>
  12. <a rel="bookmark"
  13. href="{{ SITEURL }}/{{ article.url }}"
  14. title="Permalink to '{{ article.title|striptags }}'">
  15. {{ article.title }}
  16. </a>
  17. </h1>
  18. </header>
  19. <div class="post-content">
  20. {{ article.content}}
  21. </div>
  22. <footer class="post-footer">
  23. <div class="meta">
  24. {% include "includes/article_meta.html" %}
  25. </div>
  26. <!--
  27. <div class="meta">
  28. Posted in '<a href="{{ SITEURL }}/{{ article.category.url }}">{{
  29. article.category }}</a>'
  30. the <time datetime="{{ article.date.isoformat() }}">{{
  31. article.locale_date }}</time><br />
  32. Tags: {% for tag in article.tags %} <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}
  33. </div>
  34. -->
  35. </footer>
  36. {% endblock content -%}