Make some fixes to broken visuals
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{{- if .Params.summary -}}
|
{{- if .Params.summary -}}
|
||||||
{{ .Params.summary }}
|
{{ .Params.summary | markdownify | plainify }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ .Summary | plainify | truncate 180 }}
|
{{ .Summary | plainify | truncate 180 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<span class="sidenote">
|
<span class="sidenote">
|
||||||
<label class="sidenote-label" for="{{- .Get 1 -}}">{{- .Get 2 | markdownify -}}</label>
|
<label class="sidenote-label" for="{{- .Get 1 -}}">{{- .Get 2 | markdownify -}}</label>
|
||||||
|
{{- /* chomp trailing whitespace */ -}}
|
||||||
<input class="sidenote-checkbox" style="display: none;" type="checkbox" id="{{- .Get 1 -}}"></input>
|
<input class="sidenote-checkbox" style="display: none;" type="checkbox" id="{{- .Get 1 -}}"></input>
|
||||||
{{- if $offset := .Get 3 -}}
|
{{- if $offset := .Get 3 -}}
|
||||||
<span class="sidenote-content sidenote-{{- .Get 0 -}}" style="margin-top: {{- $offset -}}rem">
|
<span class="sidenote-content sidenote-{{- .Get 0 -}}" style="margin-top: {{- $offset -}}rem">
|
||||||
@@ -10,4 +11,6 @@
|
|||||||
{{- .Inner -}}
|
{{- .Inner -}}
|
||||||
<span class="sidenote-delimiter">]</span>
|
<span class="sidenote-delimiter">]</span>
|
||||||
</span>
|
</span>
|
||||||
|
{{- /* chomp trailing whitespace */ -}}
|
||||||
</span>
|
</span>
|
||||||
|
{{- /* chomp trailing whitespace */ -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user