Revert to using itemLimit fileter for latest changelog on home page
This commit is contained in:
parent
b5e48324f6
commit
c9d08b2ef1
@ -51,7 +51,7 @@ eleventyComputed:
|
|||||||
<section class="content__section">
|
<section class="content__section">
|
||||||
<h2>What is New?</h2>
|
<h2>What is New?</h2>
|
||||||
<div class="text-box">
|
<div class="text-box">
|
||||||
{{ for log of collections["changelogs"] |> toReversed |> slice(0, 1) }}
|
{{ for log of collections["changelogs"] |> toReversed |> itemLimit(1) }}
|
||||||
<h3>{{ log.data.title }}</h3>
|
<h3>{{ log.data.title }}</h3>
|
||||||
{{ log.content }}
|
{{ log.content }}
|
||||||
{{ /for }}
|
{{ /for }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user