mirror of
https://github.com/nelsbrock/NateMan.git
synced 2026-08-14 21:36:49 +02:00
Bugfix: time-tag in HTML-title entfernt
This commit is contained in:
@@ -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) -%}
|
||||
|
||||
Reference in New Issue
Block a user