feat: add landing layout and harden rendering

This commit is contained in:
Friday authored and Nuno C. committed 2026-08-17 20:19:02 +01:00
1 parent 405c905754
commit 345f806d80
24 files changed
+353 -193

No files matched your search

+6 -1
View File
@@ -5,7 +5,12 @@
{{- $isMarkdown := or (eq $md true) (eq $md "true") -}}
{{- $content := .Inner -}}
{{- if $isMarkdown -}}
{{- $content = .InnerDeindent | strings.TrimSpace | .Page.RenderString -}}
{{- $content = .InnerDeindent | strings.TrimSpace -}}
{{- if not (strings.HasPrefix $content "<") -}}
{{- $content = $content | .Page.RenderString -}}
{{- else -}}
{{- $content = $content | safeHTML -}}
{{- end -}}
{{- end -}}
{{- $tabs := .Parent.Store.Get "tabs" | default slice -}}