Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv1ne <v1ne2go@gmail.com>2019-11-20 00:21:26 +0300
committerCarson Ip <carsonip@users.noreply.github.com>2019-11-29 18:04:51 +0300
commit13c6e94275d25285d63c161b8f55a4bca90e936d (patch)
tree10d5d45128fb4f4086f161565ecea53edec13267
parente1dd4d7d067c0476a89c8e0dc9e7f8d4d56d5e16 (diff)
Clean up: Less empty space in HTML code
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/partials/og.html4
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 }}