Use i18n for "SEE ALSO" string

This commit is contained in:
2022-05-04 18:41:41 -05:00
parent 2731d9795f
commit 0877a9d400
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div class="see-also">
{{ with .Site.GetPage (.Get 0) }}
<p>SEE ALSO: <a href="{{ .Permalink }}">{{ .Title }}</a></p>
<p>{{ i18n "see_also" }} <a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ else }}
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
{{ end }}