File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ country_code : CA
23
23
dirdownloads : downloads
24
24
dircontent : _sections
25
25
previousrun : _data/previousrun.yml
26
+ keeph2 : true
26
27
27
28
# content
28
29
collections :
Original file line number Diff line number Diff line change 23
23
< img src ="web/{{ page.image }}.jpg "/>
24
24
{% if next %}</ a > {% endif %}
25
25
</ div >
26
+ < h2 > Transcription</ h2 >
26
27
{% endif %}
28
+ {% if site.keeph2 || page.keeph2 %}
29
+ {{ content }}
30
+ {% else %}
27
31
<!--
28
32
This is where we make changes to the html output of the markdown
29
33
transformation before it is inserted into the page.
30
34
31
35
In this case we want to remove the first h2 header, since the chapter
32
36
title is displayed in the jumbotron div.
33
37
-->
34
- {{ content
35
- | replace_regex: '< h2 .* </ h2 > ', '', true
36
- }}
38
+ {{ content
39
+ | replace_regex: '< h2 .* </ h2 > ', '', true
40
+ }}
41
+ {% endif %}
37
42
</ article >
38
43
39
44
</ div >
You can’t perform that action at this time.
0 commit comments