mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2024-11-28 21:13:51 +01:00
I don't like leading spaces
This commit is contained in:
parent
2bb8efab1f
commit
d1063e7df6
|
@ -1,24 +0,0 @@
|
|||
{{- $cover := false -}}
|
||||
{{- $autoCover := default $.Site.Params.autoCover false }}
|
||||
|
||||
{{- if index .Params "cover" -}}
|
||||
{{- if .Resources.GetMatch .Params.Cover }}
|
||||
{{- $cover = (.Resources.GetMatch .Params.Cover).RelPermalink -}}
|
||||
{{- else -}}
|
||||
{{- $cover = absURL .Params.Cover -}}
|
||||
{{- end -}}
|
||||
{{- else if $.Site.Params.AutoCover -}}
|
||||
{{- if (not .Params.Cover) -}}
|
||||
{{- if .Resources.GetMatch "cover.*" -}}
|
||||
{{- $cover = (.Resources.GetMatch "cover.*").RelPermalink -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{if $cover -}}
|
||||
<!-- Cover image found -->
|
||||
<img src="{{ $cover }}"
|
||||
class="post-cover"
|
||||
alt="{{ .Title | plainify | default " " }}"
|
||||
title="{{ .Params.CoverCredit |plainify|default "Cover Image" }}" />
|
||||
{{- end }}
|
|
@ -5,7 +5,7 @@
|
|||
<a href="{{ .URL }}">{{ .Name }} </a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<hr />
|
||||
<hr />
|
||||
{{ range $.Site.Menus.services }}
|
||||
{{ if not .HasChildren }}
|
||||
<a href="{{ .URL }}">{{ .Name }} </a>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="pagination">
|
||||
<div class="pagination__buttons">
|
||||
<div class="pagination__buttons">
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<span class="button prev">
|
||||
<a href="{{ .Paginator.Prev.URL }}">
|
||||
|
@ -16,5 +16,5 @@
|
|||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
<!--
|
||||
class: class of the figure
|
||||
link: url the image directs to
|
||||
alt: alternative text
|
||||
caption: caption
|
||||
mouse: what the image says when moused over ("title" in HTML)
|
||||
-->
|
||||
<audio controls="true">
|
||||
<source src="{{.Get "src" }}" type="audio/{{.Get "audio" }}">
|
||||
Sorry mate, your browser doesn't support playing audio files.
|
||||
|
|
1
layouts/shortcodes/hyperbowl.html
Normal file
1
layouts/shortcodes/hyperbowl.html
Normal file
|
@ -0,0 +1 @@
|
|||
<blockquote class="hyperbowl">{{ .Get "content" }}</blockquote>
|
Loading…
Reference in a new issue