mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-06 03:12:43 +02:00
parent
4e38a13914
commit
628637be81
4 changed files with 4 additions and 4 deletions
layouts/shortcodes
|
@ -1,7 +1,7 @@
|
|||
<div class="epigraph">
|
||||
<blockquote>
|
||||
{{ $t := .Get "type" }}
|
||||
{{ if eq $t "compact" }}{{ .Inner }}{{ else }}<p>{{ .Inner }}</p>{{ end }}
|
||||
{{ if eq $t "compact" }}{{ .Inner | markdownify }}{{ else }}<p>{{ .Inner | markdownify }}</p>{{ end }}
|
||||
{{ if .IsNamedParams }}
|
||||
<footer>
|
||||
{{ with .Get "pre" }}{{ . }}{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue