mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Add comment on related content
This commit is contained in:
parent
ebb7dc3b45
commit
c0adbe2422
@ -5,6 +5,11 @@
|
|||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Use Hugo's native related content feature to pull in content that may have similar parameters, like tags. etc.
|
||||||
|
https://gohugo.io/content-management/related/
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ $related := .Site.RegularPages.Related . | first 15 }}
|
{{ $related := .Site.RegularPages.Related . | first 15 }}
|
||||||
|
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user