|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
{{ macros::figure(url=image.url, alt=data.image.alt, source=data.image.source) }}
|
|
|
|
|
{% endblock image %}
|
|
|
|
|
<section>
|
|
|
|
|
<a href="#site"><h3>Site</h3></a>
|
|
|
|
|
<a href="#site"><h3 id="site">Site</h3></a>
|
|
|
|
|
|
|
|
|
|
{% if data.site.temp %}
|
|
|
|
|
{{ macros::badge(icon="thermometer", class="temp-badge", text=data.site.temp, plain="Prefers " ~ data.site.temp ~ " temperatures.") }}
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
|
|
|
<a href="care"><h3>Care</h3></a>
|
|
|
|
|
<a href="#care"><h3 id="care">Care</h3></a>
|
|
|
|
|
|
|
|
|
|
{% if data.care.water_schedule %}
|
|
|
|
|
{{ macros::badge(icon="drizzle", class="water-badge", text="every " ~ data.care.water_schedule, plain="Water every " ~ data.care.water_schedule ~ ".") }}
|
|
|
|
@ -57,6 +57,17 @@
|
|
|
|
|
{% block care %}
|
|
|
|
|
{{ load_data(path="/static/plants/" ~ page.extra.data ~ "/care.md") | markdown | safe }}
|
|
|
|
|
{% endblock care %}
|
|
|
|
|
|
|
|
|
|
{% if data.additional_chapters %}
|
|
|
|
|
{% block additional_chapters %}
|
|
|
|
|
{% for key, chapter in data.additional_chapters %}
|
|
|
|
|
<section>
|
|
|
|
|
<a href="#{{ chapter.title | slugify }}"><h3 id="{{ chapter.title | slugify }}">{{ chapter.title }}</h3></a>
|
|
|
|
|
{{ load_data(path="/static/plants/" ~ page.extra.data ~ "/" ~ chapter.file ~ ".md") | markdown | safe }}
|
|
|
|
|
</section>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endblock additional_chapters %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</section>
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
</div>
|
|
|
|
|