mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-16 21:36:56 +01:00
parent
4e38a13914
commit
628637be81
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<blockquote cite="{{ .Get "cite" }}">
|
||||
<p>
|
||||
{{ .Inner }}
|
||||
{{ .Inner | markdownify }}
|
||||
</p>
|
||||
<footer>{{ .Get "footer" }}</footer>
|
||||
</blockquote>
|
|
@ -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 }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<span class="newthought">{{ .Inner }}</span>
|
||||
<span class="newthought">{{ .Inner | markdownify }}</span>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{{ $sidenoteDomIdSuffix := .Ordinal }}<label for="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle sidenote-number"></label>
|
||||
<input type="checkbox" id="sidenote-{{.Page.File.UniqueID}}-{{ $sidenoteDomIdSuffix }}" class="margin-toggle"/>
|
||||
<span class="sidenote">{{ .Inner }}</span>
|
||||
<span class="sidenote">{{ .Inner | markdownify }}</span>
|
||||
|
|
Loading…
Reference in a new issue