diff options
author | v1ne <v1ne2go@gmail.com> | 2019-11-20 00:21:26 +0300 |
---|---|---|
committer | Carson Ip <carsonip@users.noreply.github.com> | 2019-11-29 18:04:51 +0300 |
commit | 13c6e94275d25285d63c161b8f55a4bca90e936d (patch) | |
tree | 10d5d45128fb4f4086f161565ecea53edec13267 | |
parent | e1dd4d7d067c0476a89c8e0dc9e7f8d4d56d5e16 (diff) |
Clean up: Less empty space in HTML code
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/partials/og.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5b1705e..ff4152a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -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> diff --git a/layouts/partials/og.html b/layouts/partials/og.html index 95fef9c..3f63c85 100644 --- a/layouts/partials/og.html +++ b/layouts/partials/og.html @@ -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 }}
\ No newline at end of file + {{- end }} |