File tree 11 files changed +22
-55
lines changed
bootstrap-jinja/templates
bootstrap3-jinja/templates
11 files changed +22
-55
lines changed Original file line number Diff line number Diff line change 80
80
<!-- end fancy dates -->
81
81
{% block extra_js %}{% endblock %}
82
82
<script>
83
- baguetteBox.run('a.reference:not(.islink)', {
83
+ baguetteBox.run('div#content', {
84
+ ignoreClass: 'islink',
84
85
captions: function(element) {
85
86
return element.getElementsByTagName('img')[0].alt;
86
87
}});
87
- baguetteBox.run('img:not(.islink)', {
88
- captions: function(element) {
89
- return element.alt;
90
- }});
91
88
</script>
92
89
{{ body_end }}
93
90
{{ template_hooks['body_end']() }}
Original file line number Diff line number Diff line change @@ -80,14 +80,11 @@ ${base.late_load_js()}
80
80
<!-- end fancy dates -->
81
81
<%block name="extra_js"></%block>
82
82
<script>
83
- baguetteBox.run('a.reference:not(.islink)', {
83
+ baguetteBox.run('div#content', {
84
+ ignoreClass: 'islink',
84
85
captions: function(element) {
85
86
return element.getElementsByTagName('img')[0].alt;
86
87
}});
87
- baguetteBox.run('img:not(.islink)', {
88
- captions: function(element) {
89
- return element.alt;
90
- }});
91
88
</script>
92
89
${body_end}
93
90
${template_hooks['body_end']()}
Original file line number Diff line number Diff line change 81
81
<!-- end fancy dates -->
82
82
{% block extra_js %}{% endblock %}
83
83
<script>
84
- baguetteBox.run('a.reference:not(.islink)', {
84
+ baguetteBox.run('div#content', {
85
+ ignoreClass: 'islink',
85
86
captions: function(element) {
86
87
return element.getElementsByTagName('img')[0].alt;
87
88
}});
88
- baguetteBox.run('img:not(.islink)', {
89
- captions: function(element) {
90
- return element.alt;
91
- }});
92
89
</script>
93
90
{{ body_end }}
94
91
{{ template_hooks['body_end']() }}
Original file line number Diff line number Diff line change @@ -81,14 +81,11 @@ ${base.late_load_js()}
81
81
<!-- end fancy dates -->
82
82
<%block name="extra_js"></%block>
83
83
<script>
84
- baguetteBox.run('a.reference:not(.islink)', {
84
+ baguetteBox.run('div#content', {
85
+ ignoreClass: 'islink',
85
86
captions: function(element) {
86
87
return element.getElementsByTagName('img')[0].alt;
87
88
}});
88
- baguetteBox.run('img:not(.islink)', {
89
- captions: function(element) {
90
- return element.alt;
91
- }});
92
89
</script>
93
90
${body_end}
94
91
${template_hooks['body_end']()}
Original file line number Diff line number Diff line change 83
83
<!-- end fancy dates -->
84
84
{% block extra_js %}{% endblock %}
85
85
<script>
86
- baguetteBox.run('a.reference:not(.islink)', {
86
+ baguetteBox.run('div#content', {
87
+ ignoreClass: 'islink',
87
88
captions: function(element) {
88
89
return element.getElementsByTagName('img')[0].alt;
89
90
}});
90
- baguetteBox.run('img:not(.islink)', {
91
- captions: function(element) {
92
- return element.alt;
93
- }});
94
91
</script>
95
92
{{ body_end }}
96
93
{{ template_hooks['body_end']() }}
Original file line number Diff line number Diff line change @@ -83,14 +83,11 @@ ${base.late_load_js()}
83
83
<!-- end fancy dates -->
84
84
<%block name="extra_js"></%block>
85
85
<script>
86
- baguetteBox.run('a.reference:not(.islink)', {
86
+ baguetteBox.run('div#content', {
87
+ ignoreClass: 'islink',
87
88
captions: function(element) {
88
89
return element.getElementsByTagName('img')[0].alt;
89
90
}});
90
- baguetteBox.run('img:not(.islink)', {
91
- captions: function(element) {
92
- return element.alt;
93
- }});
94
91
</script>
95
92
${body_end}
96
93
${template_hooks['body_end']()}
Original file line number Diff line number Diff line change @@ -91,14 +91,11 @@ fancydates(${date_fanciness}, ${js_date_format});
91
91
</script>
92
92
<!-- end fancy dates -->
93
93
<script>
94
- baguetteBox.run('a.reference:not(.islink)', {
94
+ baguetteBox.run('div#content', {
95
+ ignoreClass: 'islink',
95
96
captions: function(element) {
96
97
return element.getElementsByTagName('img')[0].alt;
97
98
}});
98
- baguetteBox.run('img:not(.islink)', {
99
- captions: function(element) {
100
- return element.alt;
101
- }});
102
99
</script>
103
100
<!-- Abstract hide/show
104
101
<script src"/assets/js/div_toggle.js"></script>
Original file line number Diff line number Diff line change 110
110
<!-- end fancy dates -->
111
111
{% block extra_js %}{% endblock %}
112
112
<script>
113
- baguetteBox.run('a.reference:not(.islink)', {
113
+ baguetteBox.run('div#content', {
114
+ ignoreClass: 'islink',
114
115
captions: function(element) {
115
116
return element.getElementsByTagName('img')[0].alt;
116
117
}});
117
- baguetteBox.run('img:not(.islink)', {
118
- captions: function(element) {
119
- return element.alt;
120
- }});
121
118
</script>
122
119
{{ body_end }}
123
120
{{ template_hooks['body_end']() }}
Original file line number Diff line number Diff line change @@ -41,14 +41,11 @@ ${template_hooks['extra_head']()}
41
41
</div>
42
42
${base.late_load_js()}
43
43
<script>
44
- baguetteBox.run('a.reference:not(.islink)', {
44
+ baguetteBox.run('div#content', {
45
+ ignoreClass: 'islink',
45
46
captions: function(element) {
46
47
return element.getElementsByTagName('img')[0].alt;
47
48
}});
48
- baguetteBox.run('img:not(.islink)', {
49
- captions: function(element) {
50
- return element.alt;
51
- }});
52
49
</script>
53
50
<%block name="extra_js"></%block>
54
51
${body_end}
Original file line number Diff line number Diff line change @@ -63,14 +63,11 @@ ${base.late_load_js()}
63
63
<!-- end fancy dates -->
64
64
<%block name="extra_js"></%block>
65
65
<script>
66
- baguetteBox.run('a.reference:not(.islink)', {
66
+ baguetteBox.run('div#content', {
67
+ ignoreClass: 'islink',
67
68
captions: function(element) {
68
69
return element.getElementsByTagName('img')[0].alt;
69
70
}});
70
- baguetteBox.run('img:not(.islink)', {
71
- captions: function(element) {
72
- return element.alt;
73
- }});
74
71
</script>
75
72
${body_end}
76
73
${template_hooks['body_end']()}
Original file line number Diff line number Diff line change @@ -84,14 +84,11 @@ ${template_hooks['extra_head']()}
84
84
});
85
85
</script>
86
86
<script>
87
- baguetteBox.run('a.reference:not(.islink)', {
87
+ baguetteBox.run('div#content', {
88
+ ignoreClass: 'islink',
88
89
captions: function(element) {
89
90
return element.getElementsByTagName('img')[0].alt;
90
91
}});
91
- baguetteBox.run('img:not(.islink)', {
92
- captions: function(element) {
93
- return element.alt;
94
- }});
95
92
</script>
96
93
${body_end}
97
94
${template_hooks['body_end']()}
You can’t perform that action at this time.
0 commit comments