Hide CC icon

Fix #223
This commit is contained in:
Alexandre Vicenzi 2021-02-04 22:06:02 +01:00
parent d885544fdf
commit 23ac7c30a4
2 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ CC_LICENSE = {
"name": "Creative Commons Attribution-ShareAlike",
"version": "4.0",
"slug": "by-sa",
"icon": True,
}
COPYRIGHT_YEAR = datetime.now().year

View file

@ -3,6 +3,7 @@
</p>
{% include "partial/flex.html" %}
<p>
{% if CC_LICENSE['icon'] != False %}
<a rel="license"
href="http://creativecommons.org/licenses/{{ CC_LICENSE['slug'] }}/{{ CC_LICENSE['version'] }}/"
target="_blank">
@ -17,6 +18,7 @@
width="80"
height="15"/>
</a>
{% endif %}
{% if STATUSCAKE %}
{% include "partial/statuscake.html" %}
{% endif %}