Bugfix: time-tag in HTML-title entfernt

This commit is contained in:
2021-08-02 22:36:32 +02:00
parent 6fcbf71b36
commit ea4227d37a
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -17,10 +17,10 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% macro date(date) -%}
<time datetime="{{ date.strftime('%Y-%m-%d') }}">
{% macro date(date, tag=true) -%}
{% if tag %}<time datetime="{{ date.strftime('%Y-%m-%d') }}">{% endif %}
{{- date.strftime('%a, %d.%m.%Y') -}}
</time>
{% if tag %}</time>{% endif %}
{%- endmacro %}
{% macro zeitraum(klausur) -%}