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