mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-12 05:59:20 +00:00
feat: add landing layout and harden rendering
This commit is contained in:
1 parent
405c905754
commit
345f806d80
24 files changed
+353
-193
No files matched your search
@@ -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 -}}
|
||||
|
||||
Reference in new issue
Block a user