Skip to content
Permalink
Browse files

Fix support for islink class (See Issue #1536)

  • Loading branch information
ralsina committed Dec 26, 2017
1 parent 0ad418e commit 2f4e64c6867b7ceb61bd5487661cdf54556baefe
Showing with 8 additions and 2 deletions.
  1. +8 −2 nikola/data/themes/bootstrap3/templates/base.tmpl
@@ -87,10 +87,16 @@ ${base.late_load_js()}
</script>
<!-- end fancy dates -->
<%block name="extra_js"></%block>
<script>baguetteBox.run('a.reference', {
<script>
baguetteBox.run('a.reference:not(.islink)', {
captions: function(element) {
return element.getElementsByTagName('img')[0].alt;
}});</script>
}});
baguetteBox.run('img:not(.islink)', {
captions: function(element) {
return element.alt;
}});
</script>
${body_end}
${template_hooks['body_end']()}
</body>

0 comments on commit 2f4e64c

Please sign in to comment.
You can’t perform that action at this time.