From 1e177f34da8089f1c508501d73efc84016f84a55 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sat, 8 May 2021 22:12:55 +0700 Subject: Fix some layout issues --- layouts/_default/list.html | 3 +++ layouts/partials/postInfo.html | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c9f9806..59eb537 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,6 +5,8 @@

{{ i18n .Title }}

+ {{ if .Params.no_feed }} + {{ else}} {{ range .Page.CurrentSection.Pages }}
@@ -13,6 +15,7 @@ {{ partial "postInfo.html" . }}
{{ end }} + {{ end}}
{{ end }} diff --git a/layouts/partials/postInfo.html b/layouts/partials/postInfo.html index d7146fd..f9052b0 100644 --- a/layouts/partials/postInfo.html +++ b/layouts/partials/postInfo.html @@ -14,21 +14,21 @@
{{ if .Params.categories }} - categories: - + categories: + + {{ end }} +
+ {{ if .Params.tags }} + tagged: + {{ end }}
-- cgit 1.4.1