aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/cc-license.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-04-29 09:23:44 -0700
committerJustin Mayer <entroP@gmail.com>2016-04-29 09:23:44 -0700
commit5c5fe8dcaf0ec34aac37cf18e5b55ea21f9d8f77 (patch)
tree927539b1d77514d31a1dde5268a9bd048b019762 /pelican-bootstrap3/templates/includes/cc-license.html
parent2cd39ad5c0c03818900611ddee699b2a6acc2453 (diff)
parent22e33297f8484d0c531120db0dcc3b76f6c2a1b8 (diff)
downloadpelican-themes-5c5fe8dcaf0ec34aac37cf18e5b55ea21f9d8f77.zip
pelican-themes-5c5fe8dcaf0ec34aac37cf18e5b55ea21f9d8f77.tar.gz
pelican-themes-5c5fe8dcaf0ec34aac37cf18e5b55ea21f9d8f77.tar.bz2
Merge pull request #383 from DandyDev/update-pelican-bootstrap3
Update pelican-bootstrap3 to newest 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 %}