From faa85d6112a759767a4f327e35a07fa55d9e747e Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Fri, 22 Apr 2016 15:35:07 +0200 Subject: Update pelican-bootstrap3 to latest version, donate to Pelican community --- pelican-bootstrap3/templates/includes/cc-license.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pelican-bootstrap3/templates/includes/cc-license.html') 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") %} Creative Commons License {% if br_after_img %}
{% endif %} {% if attr_markup %} -- cgit v1.1