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.
 
 
 
 

32 lines
701 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. {% filter markdown|typogrify|rellinktoabs -%}
  19. {% block post -%}{%- endblock %}
  20. {%- endfilter %}
  21. </section>
  22. {% endblock %}
  23. {% block copyright %}
  24. Copyright © {{ time_now|date_format("%Y") }} John-Mark Gurney
  25. {% endblock %}