Skip to content

Commit

Permalink
Fixing PDF gen regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
shefulloflight committed Mar 8, 2024
1 parent 6e03f18 commit 0d18730
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _layouts/page_print.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ <h1 class="post-title-main" id="{{page.permalink | replace: '/', '' }}">{{ folde
{% comment %}At this point, the following <h9> heading is set on purpose to an unreasonably high heading level, so that I can perform substitution in the generated HTML, before Prince XML builds it into a PDF file. For more information, see line 16 in `default_print.html`. This applies only to PDF content.{% endcomment %}
{% if page.permalink == "/tocpage.html/" %}<h1>{{ page.title }}</h1>{% elsif page.title %}<h9>{{ page.title }}</h9>{% endif %}
<p>{{ page.summary }}</p>
{% if page.include_content %}
{% capture reusedContent %}{% include {{ page.include_content }} %}{% endcapture %}
{{ reusedContent | markdownify }}
{% else %}
{{ processed_content }}
{% endif %}
</div>

<div class="post-content">
Expand Down

0 comments on commit 0d18730

Please sign in to comment.