re-added papermod by integrating it
This commit is contained in:
parent
a5db308b0f
commit
60d6ec934d
114 changed files with 5727 additions and 0 deletions
15
themes/PaperMod/layouts/shortcodes/ltr.html
Normal file
15
themes/PaperMod/layouts/shortcodes/ltr.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="ltr">
|
||||
{{ if eq ($.Scratch.Get "md") false }}
|
||||
{{ .Inner }}
|
||||
{{ else }}
|
||||
{{ .Inner | markdownify }}
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue