added images to articles

This commit is contained in:
Nuno Coração
2022-09-11 18:42:54 +01:00
parent 667a181028
commit 45954b3490
13 changed files with 214 additions and 44 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{{ if .Site.Params.homepage.showRecent | default false }}
<h2 class="mt-8 text-2xl font-extrabold">{{ i18n "shortcode.recent_articles" | emojify }}</h2>
<h2 class="mt-8 text-2xl font-extrabold mb-10">{{ i18n "shortcode.recent_articles" | emojify }}</h2>
{{ range first 5 (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections)).Pages }}
{{ partial "article-link.html" . }}
{{ end }}