forked from mirrors/hugo-tufte
parent
4e38a13914
commit
628637be81
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<blockquote cite="{{ .Get "cite" }}">
|
<blockquote cite="{{ .Get "cite" }}">
|
||||||
<p>
|
<p>
|
||||||
{{ .Inner }}
|
{{ .Inner | markdownify }}
|
||||||
</p>
|
</p>
|
||||||
<footer>{{ .Get "footer" }}</footer>
|
<footer>{{ .Get "footer" }}</footer>
|
||||||
</blockquote>
|
</blockquote>
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="epigraph">
|
<div class="epigraph">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
{{ $t := .Get "type" }}
|
{{ $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 }}
|
{{ if .IsNamedParams }}
|
||||||
<footer>
|
<footer>
|
||||||
{{ with .Get "pre" }}{{ . }}{{ end }}
|
{{ 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>
|
{{ $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"/>
|
<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