Skip to content

Commit

Permalink
fix page breaks for 'sample'
Browse files Browse the repository at this point in the history
  • Loading branch information
chizmw committed May 22, 2023
1 parent 8e86b0a commit 299ebdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
10 changes: 9 additions & 1 deletion templates/player-reference-easyloop.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
{% if not loop.last %}
<p style="page-break-before: always" ></p>
{%- endif %}
{% endif %}
{%- else -%}
{# "single-sided" #}
{# if we're a 'sample' we need to add a page break here - probably?! #}
{%- if not loop.last %}
<p style="page-break-before: always" ></p>
{%- endif -%}
{%- endif -%}
{%- else -%}
{# "regular" #}
{%- endif %}
{% endfor %}
7 changes: 0 additions & 7 deletions templates/player-reference.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,3 @@
{%- endfor %}

<div class="not-first-night">* Not on the first night</div>

{# if we're a 'sample' we need to add a page break here - probably?! #}
{%- if multipage_activated -%}
{%- if not loop.last %}
<p style="page-break-before: always" ></p>
{%- endif -%}
{%- endif -%}

0 comments on commit 299ebdc

Please sign in to comment.