mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-01 20:30:51 +00:00
Rename Eleventy templateContent to content
This commit is contained in:
parent
9c4a619766
commit
e7859b34ab
@ -3,5 +3,5 @@
|
|||||||
{{ log.date | formatDate }}
|
{{ log.date | formatDate }}
|
||||||
{% endheadingAnchor %}
|
{% endheadingAnchor %}
|
||||||
|
|
||||||
{{ log.templateContent | safe }}
|
{{ log.content | safe }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
@ -32,11 +32,11 @@ isContentDivided: true
|
|||||||
{% if group.data.toc %}
|
{% if group.data.toc %}
|
||||||
<div class="tabwrap__toc">
|
<div class="tabwrap__toc">
|
||||||
<h3>Table of Contents</h3>
|
<h3>Table of Contents</h3>
|
||||||
{{ group.templateContent | toc | safe }}
|
{{ group.content | toc | safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ group.templateContent | safe }}
|
{{ group.content | safe }}
|
||||||
|
|
||||||
{% if group.data.updated %}
|
{% if group.data.updated %}
|
||||||
<p class="update-info">(This {{ group.data.title }} list was last updated on <time datetime="{{ group.data.updated }}">{{ group.data.updated | formatDate }}</time>)</p>
|
<p class="update-info">(This {{ group.data.title }} list was last updated on <time datetime="{{ group.data.updated }}">{{ group.data.updated | formatDate }}</time>)</p>
|
||||||
|
@ -53,7 +53,7 @@ eleventyComputed:
|
|||||||
<div class="text-box">
|
<div class="text-box">
|
||||||
{% for log in collections["changelogs"] | reverse | itemLimit(1) %}
|
{% for log in collections["changelogs"] | reverse | itemLimit(1) %}
|
||||||
<h3>{{ log.data.title }}</h3>
|
<h3>{{ log.data.title }}</h3>
|
||||||
{{ log.templateContent | safe }}
|
{{ log.content | safe }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
<p><a href="/changelogs">View all site changelogs</a></p>
|
<p><a href="/changelogs">View all site changelogs</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@ eleventyNavigation:
|
|||||||
<h2>Latest Changelogs</h2>
|
<h2>Latest Changelogs</h2>
|
||||||
{% for log in changelogs %}
|
{% for log in changelogs %}
|
||||||
<h3 class="date-style"><time datetime="{{ log.date }}">{{ log.date | formatDate }}</time></h3>
|
<h3 class="date-style"><time datetime="{{ log.date }}">{{ log.date | formatDate }}</time></h3>
|
||||||
{{ log.templateContent | safe }}
|
{{ log.content | safe }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{% include "global/pagination-oldnew.njk" %}
|
{% include "global/pagination-oldnew.njk" %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user