Clean up: Less empty space in HTML code

This commit is contained in:
v1ne
2019-11-19 22:21:26 +01:00
committed by Carson Ip
parent e1dd4d7d06
commit 13c6e94275
2 changed files with 4 additions and 4 deletions

View File

@@ -8,9 +8,9 @@
<span class="archive-category">{{ .Title }}</span>
</div>
<div class="archives">
{{ range .Paginator.Pages }}
{{- range .Paginator.Pages }}
{{ partial "li.html" . }}
{{ end }}
{{- end -}}
</div></section>
{{ partial "pagination.html" . }}
</section>

View File

@@ -3,6 +3,6 @@
<meta property="og:type" content="website" />
<meta property="og:locale" content="{{ .Lang }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ if .Params.ogimage }}
{{ if .Params.ogimage -}}
<meta property="og:image" content="{{ .Params.ogimage }}" />
{{ end }}
{{- end }}