From 24d9aaf51269ad3427bb77cddfd949dba387cab7 Mon Sep 17 00:00:00 2001 From: vjeantet Date: Tue, 25 Aug 2020 13:12:00 +0200 Subject: update --- layouts/partials/_pagination.html | 4 ++-- layouts/shortcodes/notice.html | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/_pagination.html b/layouts/partials/_pagination.html index cfa538a..14ac311 100644 --- a/layouts/partials/_pagination.html +++ b/layouts/partials/_pagination.html @@ -1,9 +1,9 @@ diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html index cfe0997..12d8378 100644 --- a/layouts/shortcodes/notice.html +++ b/layouts/shortcodes/notice.html @@ -1,3 +1,8 @@ {{ $_hugo_config := `{ "version": 1 }` }} -

{{ .Inner }}

+
+ {{- if len .Params | eq 2 -}} + + {{- end -}} + {{if in .Inner "\n" }}{{.Inner}}{{else}}

{{.Inner}}

{{end}} +
-- cgit v1.2.3