Permalink
Browse files

template tweak

  • Loading branch information...
1 parent f83ebd5 commit 1d24dfdc74223ea1a6fc91f081b0d68e75f3c7d2 @ralsina ralsina committed May 5, 2015
@@ -81,7 +81,7 @@ lang="{{ lang }}">
<script src="{{ cdn_url('jquery.colorbox', use_cdn, '/assets/js/jquery.colorbox-min.js') }}"></script>
{% endif %}
{% if colorbox_locales[lang] %}
- <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>
+ <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>
{% endif %}
{{ social_buttons_code }}
{% endmacro %}
@@ -81,7 +81,7 @@ lang="${lang}">
<script src="${cdn_url('jquery.colorbox', use_cdn, '/assets/js/jquery.colorbox-min.js')}"></script>
%endif
%if colorbox_locales[lang]:
- <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>
+ <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>
%endif
${social_buttons_code}
</%def>

0 comments on commit 1d24dfd

Please sign in to comment.