Removing more double spaces.

This commit is contained in:
Fredrik Jonsson 2020-07-30 09:32:27 +02:00
commit 18e1a9914e
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
}, },
"publisher": { "publisher": {
"@type": "Organization", "@type": "Organization",
"name": {{ .Site.Title }}, "name": {{ .Site.Title }},
{{ with $.Param "icon" -}} {{ with $.Param "icon" -}}
"logo" : { "logo" : {
"@type": "ImageObject", "@type": "ImageObject",

View file

@ -1,6 +1,6 @@
<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}> <figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
<audio controls preload="{{ .Get "preload" | default "metadata" }}"> <audio controls preload="{{ .Get "preload" | default "metadata" }}">
{{ with .Get "src" }}<source src="{{ . | relURL }}" type="audio/mpeg">{{ end }} {{ with .Get "src" }}<source src="{{ . | relURL }}" type="audio/mpeg">{{ end }}
{{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }} {{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }}
</audio> </audio>
</figure> </figure>

View file

@ -1,6 +1,6 @@
<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}> <figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
<video controls preload="{{ .Get "preload" | default "metadata" }}" {{ with .Get "width" }}width="{{ . }}"{{ end }}> <video controls preload="{{ .Get "preload" | default "metadata" }}" {{ with .Get "width" }}width="{{ . }}"{{ end }}>
{{ with .Get "src" }}<source src="{{ . | relURL }}" type="video/mp4">{{ end }} {{ with .Get "src" }}<source src="{{ . | relURL }}" type="video/mp4">{{ end }}
</video> </video>
{{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }} {{ with .Get "caption" }}<figcaption>{{ . }}</figcaption>{{ end }}
</figure> </figure>