Simplify sidebar partials

This commit is contained in:
Ral 2025-04-14 03:24:31 +02:00
parent f61bc21f6a
commit 1bc2cc00a3
4 changed files with 4 additions and 8 deletions

View file

@ -39,8 +39,7 @@
</p>
{{ end }}
{{ $coc := site.GetPage "coc" }}
{{ with $coc }}
{{ with site.GetPage "coc" }}
<p>
<strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong>
</p>

View file

@ -40,8 +40,7 @@
</p>
{{ end }}
{{ $coc := site.GetPage "coc" }}
{{ with $coc }}
{{ with site.GetPage "coc" }}
<p>
<strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong>
</p>

View file

@ -39,8 +39,7 @@
</p>
{{ end }}
{{ $coc := site.GetPage "coc" }}
{{ with $coc }}
{{ with site.GetPage "coc" }}
<p>
<strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong>
</p>

View file

@ -39,8 +39,7 @@
</p>
{{ end }}
{{ $coc := site.GetPage "coc" }}
{{ with $coc }}
{{ with site.GetPage "coc" }}
<p>
<strong><a href="{{ .Permalink }}">{{ .Title }}</a></strong>
</p>