quartz/layouts/partials/recent.html
yshalsager 657985aacf
feat: Add internationalization (i18n) support
* Extract all strings into data/locale.toml files.
* Use data/config values from correct language file.
* Fix wrong lang attribute in some html layouts.
* Fix header direction in rtl.
* Fix footer text align in rtl.

Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
2022-08-22 09:48:13 +02:00

13 lines
354 B
HTML

<div class="content-list">
<h2>{{ i18n "recent_notes" }}</h2>
<!--
You can also configure this to find related pages!
All you need to pass into the "page-list.html" partial
is a collection of pages.
https://gohugo.io/content-management/related/
-->
{{$notes := .Site.RegularPages}}
{{partial "page-list.html" (first 3 $notes)}}
</div>