refactor: internal and external links

This commit is contained in:
Ben Goldsworthy 2025-05-08 13:48:23 +02:00
parent 5aec4874b6
commit f1c9fa5622
No known key found for this signature in database
14 changed files with 388 additions and 125 deletions

View file

@ -13,7 +13,7 @@
itemprop="name"
>
<h2 class="{{ .class }}__title {{ if gt ( len ( .pc.Title | plainify ) ) 40 }}{{ .class }}__title--long{{ end }}">
{{- default .pc.Title .pc.Params.markup_title | .pc.Page.RenderString -}}
{{- default .pc.Title .pc.Params.markup_title | .pc.Page.RenderString -}}
</h2>
{{ with .pc.Params.subtitle }}
<p class="{{ $.class }}__subtitle">{{ . | $.pc.Page.RenderString }}</p>