Add JSON-LD structured metadata

This commit is contained in:
James Panther
2021-08-18 17:06:14 +10:00
parent 9d3af655f4
commit c5107ab693
6 changed files with 49 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{{ if .Site.Params.homepage.showRecent | default false }}
<h2 class="mt-8 text-2xl font-extrabold">{{ i18n "shortcode.recent_articles" | emojify }}</h2>
{{ range first 5 (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.homepage.mainSections)).Pages }}
{{ range first 5 (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections)).Pages }}
{{ partial "article-link.html" . }}
{{ end }}
{{ end }}