Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1d24dfd

Browse files
committedMay 5, 2015
template tweak
1 parent f83ebd5 commit 1d24dfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎nikola/data/themes/bootstrap3-jinja/templates/base_helper.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ lang="{{ lang }}">
8181
<script src="{{ cdn_url('jquery.colorbox', use_cdn, '/assets/js/jquery.colorbox-min.js') }}"></script>
8282
{% endif %}
8383
{% if colorbox_locales[lang] %}
84-
<script src="{{ cdn_url('jquery.colorbox::i18n/jquery.colorbox-${colorbox_locales[lang] }}.js', use_cdn, '/assets/js/colorbox-i18n/jquery.colorbox-{{ colorbox_locales[lang] }}.js')}"></script>
84+
<script src="{{ cdn_url('jquery.colorbox::i18n/jquery.colorbox-'+colorbox_locales[lang]+'.js', use_cdn, '/assets/js/colorbox-i18n/jquery.colorbox-'+colorbox_locales[lang] }}+'.js')}"></script>
8585
{% endif %}
8686
{{ social_buttons_code }}
8787
{% endmacro %}

‎nikola/data/themes/bootstrap3/templates/base_helper.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ lang="${lang}">
8181
<script src="${cdn_url('jquery.colorbox', use_cdn, '/assets/js/jquery.colorbox-min.js')}"></script>
8282
%endif
8383
%if colorbox_locales[lang]:
84-
<script src="${cdn_url('jquery.colorbox::i18n/jquery.colorbox-${colorbox_locales[lang]}.js', use_cdn, '/assets/js/colorbox-i18n/jquery.colorbox-${colorbox_locales[lang]}.js')}"></script>
84+
<script src="${cdn_url('jquery.colorbox::i18n/jquery.colorbox-'+colorbox_locales[lang]+'.js', use_cdn, '/assets/js/colorbox-i18n/jquery.colorbox-'+colorbox_locales[lang]}+'.js')}"></script>
8585
%endif
8686
${social_buttons_code}
8787
</%def>

0 commit comments

Comments
 (0)
Please sign in to comment.