removes all space consuming symbols in templates

This commit is contained in:
Huy Tran 2018-07-30 07:41:49 +10:00
parent c5ab13bf48
commit 90a8c7d5af
26 changed files with 126 additions and 126 deletions

View file

@ -1,17 +1,17 @@
{{ $enabledPostNavigation := .Site.Params.postNavigation | default true }}
{{ if $enabledPostNavigation }}
<div class="post--navigation post--navigation-single">
{{ with .PrevInSection -}}
{{ with .PrevInSection }}
<a href="{{ .RelPermalink }}" class="post--navigation-prev">
<i aria-hidden="true" class="fa fa-chevron-left"></i>
<span class="navigation-tittle">{{ .Title }}</span>
</a>
{{- end }}
{{ with .NextInSection -}}
{{ end }}
{{ with .NextInSection }}
<a href="{{ .RelPermalink }}" class="post--navigation-next">
<span class="navigation-tittle">{{ .Title }}</span>
<i aria-hidden="true" class="fa fa-chevron-right"></i>
</a>
{{- end }}
{{ end }}
</div>
{{ end }}