aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/cc-license.html
diff options
context:
space:
mode:
authorDaan Debie <ddebie@universitplatform.com>2016-04-22 15:35:07 +0200
committerDaan Debie <ddebie@universitplatform.com>2016-04-22 15:35:07 +0200
commitfaa85d6112a759767a4f327e35a07fa55d9e747e (patch)
tree903ad6ecc488f2158ec40d8fa45a39d5542a2f8b /pelican-bootstrap3/templates/includes/cc-license.html
parent2cd39ad5c0c03818900611ddee699b2a6acc2453 (diff)
downloadpelican-themes-faa85d6112a759767a4f327e35a07fa55d9e747e.zip
pelican-themes-faa85d6112a759767a4f327e35a07fa55d9e747e.tar.gz
pelican-themes-faa85d6112a759767a4f327e35a07fa55d9e747e.tar.bz2
Update pelican-bootstrap3 to latest version, donate to Pelican community
Diffstat (limited to 'pelican-bootstrap3/templates/includes/cc-license.html')
-rw-r--r--pelican-bootstrap3/templates/includes/cc-license.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/includes/cc-license.html b/pelican-bootstrap3/templates/includes/cc-license.html
index 73c7720..c64f265 100644
--- a/pelican-bootstrap3/templates/includes/cc-license.html
+++ b/pelican-bootstrap3/templates/includes/cc-license.html
@@ -37,6 +37,7 @@
attr_props={}) %}
{% if cc_name %}
{% set cc_name = cc_name|lower|replace("cc-","") %}
+ {% set cc_title_suffix = cc_name|replace("by", "")|replace("-nc","-NonCommercial")|replace("-nd","-NoDerivatives")|replace("-sa","-ShareAlike") %}
{% else %}
{% set cc_name = "by" %}
{% set cc_title_suffix = "" %}
@@ -52,7 +53,7 @@
{% set cc_title_suffix = cc_title_suffix ~ "-ShareAlike" %}
{% endif %}
{% endif %}
- {% set cc_title, cc_uri, cc_icon = ("Creative Commons Attribution 4.0 InternationalCCSUFFIX License","http://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %}
+ {% set cc_title, cc_uri, cc_icon = ("Creative Commons AttributionCCSUFFIX 4.0 International License","http://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %}
<a rel="license" href="{{ cc_uri|replace('CCNAME',cc_name) }}"><img alt="Creative Commons License" style="border-width:0" src="{{ cc_icon|replace('CCNAME',cc_name) }}" /></a>
{% if br_after_img %}<br/>{% endif %}
{% if attr_markup %}