Add license header in templates

This commit is contained in:
Alexandre Iooss 2021-10-15 09:53:21 +02:00
parent 920f07339a
commit fb99407d1f
4 changed files with 12 additions and 0 deletions

View file

@ -1,4 +1,7 @@
{% extends "photologue/root.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block title %}{% trans "Latest photo galleries" %}{% endblock %}

View file

@ -1,4 +1,7 @@
{% extends "photologue/root.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block title %}{% blocktrans with show_year=year|date:"Y" %}Galleries for {{ show_year }}{% endblocktrans %}{% endblock %}

View file

@ -1,4 +1,7 @@
{% extends "photologue/root.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load static i18n %}
{% block title %}{{ gallery.title }}{% endblock %}

View file

@ -1,4 +1,7 @@
{% extends "photologue/root.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load photologue_tags i18n %}
{% block title %}{{ object.title }}{% endblock %}