From e0a989555b6bef9173088da9e0b980338a88ce0c Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 19 Jun 2024 14:44:10 +0200 Subject: Swiched the theme to bulma-css --- theme/bulma/templates/partial/cc_license.html | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 theme/bulma/templates/partial/cc_license.html (limited to 'theme/bulma/templates/partial/cc_license.html') diff --git a/theme/bulma/templates/partial/cc_license.html b/theme/bulma/templates/partial/cc_license.html new file mode 100644 index 0000000..756cc49 --- /dev/null +++ b/theme/bulma/templates/partial/cc_license.html @@ -0,0 +1,31 @@ +

+ {% set cc_slug = CC_LICENSE['slug'] %} + {% set cc_name = CC_LICENSE['name'] %} + {% set cc_version = CC_LICENSE['version'] %} + {% set cc_lang = CC_LICENSE['language'] or "en_US" %} + {% set cc_url = "http://creativecommons.org/licenses/{}/{}/deed.{}".format(cc_slug, cc_version, cc_lang) %} + © {{ COPYRIGHT_YEAR }} {{ COPYRIGHT_NAME }} - {{ _('This work is licensed under a %(cc)s', + cc='{}'.format(cc_url, cc_name)|safe) }} +

+{% include "partial/flex.html" %} +

+ {% if CC_LICENSE['icon'] != False %} + + Creative Commons License + + {% endif %} + {% if STATUSCAKE %} + {% include "partial/statuscake.html" %} + {% endif %} +

-- cgit v1.2.3