complicate parks more

This commit is contained in:
James Turk 2025-01-12 00:24:29 -06:00
parent f47357feaa
commit 9bc9f29fc8

View File

@ -8,6 +8,7 @@
<div class="section">
<div class="location-header">
{# sometimes phone block is present #}
{% if park.id % 7 == 0 %}
<span class="location-header-label">Phone</span>
<span class="location-header-value">
@ -28,17 +29,8 @@
</span>
</div>
{# sometimes add another block in, we'll use the id to decide #}
{% if park.id % 17 == 0 %}
<div class="view-content">
<h3><span id="Other"></span></h3>
<h3 class="block-title"> Reserved </h3>
<div class="block-text">
This section is reserved for future use.
</div>
</div>
{% endif %}
{# divisors of 11, description comes first #}
{% if park.id % 11 == 0 %}
<div class="view-content">
<h3><span id="Description"></span></h3>
<h3 class="block-title"> Description </h3>
@ -58,6 +50,19 @@
This section is reserved for future use.
</div>
</div>
{# usually this block is down here #}
{% if park.id % 11 != 0 %}
<div class="view-content">
<h3><span id="Description"></span></h3>
<h3 class="block-title"> Description </h3>
<div class="block-text">
{% autoescape false %}
{{ park.description|replace("\n","<br>") }}
{% endautoescape %}
</div>
</div>
{% endif %}
{# optional #}
@ -74,7 +79,7 @@
{% endif %}
{# sometimes add another block in, we'll use the id to decide #}
{% if park.id % 11 == 0 %}
{% if park.id % 15 == 0 %}
<div class="view-content">
<h3><span id="Other"></span></h3>
<h3 class="block-title"> Other </h3>