From fb99407d1f395a9a825033ef601070847bd543e3 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 15 Oct 2021 09:53:21 +0200 Subject: [PATCH] Add license header in templates --- photologue_custom/templates/photologue/gallery_archive.html | 3 +++ .../templates/photologue/gallery_archive_year.html | 3 +++ photologue_custom/templates/photologue/gallery_detail.html | 3 +++ photologue_custom/templates/photologue/photo_detail.html | 3 +++ 4 files changed, 12 insertions(+) diff --git a/photologue_custom/templates/photologue/gallery_archive.html b/photologue_custom/templates/photologue/gallery_archive.html index c3571cb..364ae4e 100644 --- a/photologue_custom/templates/photologue/gallery_archive.html +++ b/photologue_custom/templates/photologue/gallery_archive.html @@ -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 %} diff --git a/photologue_custom/templates/photologue/gallery_archive_year.html b/photologue_custom/templates/photologue/gallery_archive_year.html index 44b1e3c..6a895bb 100644 --- a/photologue_custom/templates/photologue/gallery_archive_year.html +++ b/photologue_custom/templates/photologue/gallery_archive_year.html @@ -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 %} diff --git a/photologue_custom/templates/photologue/gallery_detail.html b/photologue_custom/templates/photologue/gallery_detail.html index 2000729..1a24121 100644 --- a/photologue_custom/templates/photologue/gallery_detail.html +++ b/photologue_custom/templates/photologue/gallery_detail.html @@ -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 %} diff --git a/photologue_custom/templates/photologue/photo_detail.html b/photologue_custom/templates/photologue/photo_detail.html index af7ebe8..9aff5b9 100644 --- a/photologue_custom/templates/photologue/photo_detail.html +++ b/photologue_custom/templates/photologue/photo_detail.html @@ -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 %}