The blog.
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.
 
 
 
 

33 lines
833 B

  1. {% from "macros.j2" import itemurl %}
  2. {% extends "base.j2" %}
  3. {% block main %}
  4. <!--
  5. {% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %}
  6. -->
  7. {% set posts = resource.node.walk_resources() | list %}
  8. {% for res in posts[0:3] %}
  9. {% if res.source.kind == "html" and res.meta.title != 'Drafts' %}
  10. <a title="{{ res.meta.title }}"
  11. href="{{ itemurl(res) }}">
  12. {{ res.meta.title }}
  13. </a>
  14. {% endif %}
  15. {% endfor %}
  16. <div class="clear"></div>
  17. <section>
  18. <h1 id="{{ slug(resource) }}-title"><a class="no-tufte-underline" href="{{ itemurl(resource) }}">{{ resource.meta.title }}</a></h1>
  19. {% filter markdown|typogrify|rellinktoabs -%}
  20. {% block post -%}{%- endblock %}
  21. {%- endfilter %}
  22. </section>
  23. {% endblock %}
  24. {% block copyright %}
  25. Copyright © {{ time_now|date_format("%Y") }} John-Mark Gurney
  26. {% endblock %}