Attempt 1 to resolve #72

Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
GitHub Action
2024-08-05 14:03:45 +00:00
parent 5ee9c82125
commit 5d7becd0ee
7 changed files with 19 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{{- $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<div class="related-posts thin">
<h2>{{ i18n "seeAlso" }}</h2>
<h2>{{- if fileExists "i18n" -}} {{ i18n "seeAlso" }} {{- else -}} See Also {{- end -}}</h2>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>