addet paperMod Theme
This commit is contained in:
parent
e2eebff951
commit
249e5a7071
113 changed files with 5582 additions and 0 deletions
15
www/themes/paperMod/layouts/shortcodes/rtl.html
Normal file
15
www/themes/paperMod/layouts/shortcodes/rtl.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue