Mercurial > hg > Blog
view themes/tuxlite_tbs/templates/page.html @ 98:1d9382b0329b
Specify the syntax on markdown blocks to avoid broken output that has class=err
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 19 Dec 2019 10:04:33 +0100 |
parents | 51d2ddc51e40 |
children |
line wrap: on
line source
{% extends "base.html" %} {% block title %} {% endblock %} {% block content %} <section id="content" class="body"> <h2 class="content-title"> {{ page.title }} {% if page.translations %} <a href="{{ SITEURL }}/{{ page.url }}" class="btn btn-info xsmall">{{ page.lang or DEFAULT_LANG }}</a> {% for translation in page.translations %} <a href="{{ SITEURL }}/{{ translation.url }}" class="btn btn-info xsmall">{{ translation.lang }}</a> {% endfor %} {% endif %} </h2> {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get the pdf</a>{% endif %} {{ page.content }} </section> {% endblock %}