add simple theme

This commit is contained in:
Christoph Cullmann 2022-10-21 21:09:12 +02:00
parent 9e3457474b
commit ec19540d92
102 changed files with 4646 additions and 1 deletions

View file

@ -0,0 +1,15 @@
{{ $.Scratch.Set "md" false }}
{{ if .IsNamedParams }}
{{ $.Scratch.Set "md" (.Get "md") }}
{{ else }}
{{ $.Scratch.Set "md" (.Get 0) }}
{{ end }}
<div dir="rtl">
{{ if eq ($.Scratch.Get "md") false }}
{{ .Inner }}
{{ else }}
{{ .Inner | markdownify }}
{{ end }}
</div>