{# new twig template file - hibbittsdesign.org #}
{% set creative_commons_licence_txt = "Creative Commons Attribution 4.0 International License" %}
{% set licence_intro_txt = "This work is licensed under a" %}
{% if(theme_var('cc_license.type') == 'ccby') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% elseif(theme_var('cc_license.type') == 'ccbysa') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution-ShareAlike 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% elseif(theme_var('cc_license.type') == 'ccbynd') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution-NoDerivatives 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% elseif(theme_var('cc_license.type') == 'ccbync') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution-NonCommercial 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% elseif( theme_var('cc_license.type') == 'ccbyncsa') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% elseif( theme_var('cc_license.type') == 'ccbyncnd') %}
{% if not theme_var('cc_license.icon') %}
{{ licence_intro_txt }}
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
{% if theme_var('cc_license.text') %}
{{ theme_var('cc_license.text') }}
{% endif %}
{% endif %}
{% endif %}