Skip to content

Commit

Permalink
Fix #2177 -- don’t mix isso embed and count
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Nov 21, 2015
1 parent d49f024 commit cf14ca9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -14,7 +14,7 @@


{% macro comment_link_script() %}
{% if comment_system_id %}
{% if comment_system_id and 'index' in pagekind %}
<script src="{{ comment_system_id }}js/count.min.js" data-isso="{{ comment_system_id }}"></script>
{% endif %}
{% endmacro %}
Expand Up @@ -14,7 +14,7 @@


<%def name="comment_link_script()">
%if comment_system_id:
%if comment_system_id and 'index' in pagekind:
<script src="${comment_system_id}js/count.min.js" data-isso="${comment_system_id}"></script>
%endif
</%def>
1 change: 1 addition & 0 deletions nikola/data/themes/bootstrap3-jinja/templates/gallery.tmpl
Expand Up @@ -90,5 +90,6 @@ $("#gallery_container").flowr({
}
});
$("a.image-reference").colorbox({rel:"gal", maxWidth:"100%",maxHeight:"100%",scalePhotos:true});
$('a.image-reference[href="'+window.location.hash.substring(1,1000)+'"]').click();
</script>
{% endblock %}

0 comments on commit cf14ca9

Please sign in to comment.