A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
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.
 
 
 
 
 

20 lines
354 B

  1. {% extends "layout.html" %}
  2. {% block title %}{{ title }}{% endblock %}
  3. {% block content %}
  4. {% if toc %}
  5. <nav class="markdown-toc">
  6. <ul>
  7. {% for entry in toc %}
  8. <li class="toc-{{ entry['level'] }}">
  9. <a href="#{{ entry['id'] }}">{{ entry['text'] }}</a>
  10. </li>
  11. {% endfor %}
  12. </ul>
  13. </nav>
  14. {% endif %}
  15. {{ markdown|safe }}
  16. {% endblock %}