Skip to content
Snippets Groups Projects
Commit c3252f45 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix bug with CC license title.

parent 581351b0
No related branches found
No related tags found
No related merge requests found
......@@ -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 = "" %}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment