From 3ec418d2d29608b90f5ae4645e1663c558991ca7 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Thu, 21 Oct 2021 09:39:37 +0700 Subject: Update theme and layout --- layouts/_default/single.html | 27 --------------------------- layouts/partials/single-extra.html | 1 + 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 layouts/_default/single.html create mode 100644 layouts/partials/single-extra.html (limited to 'layouts') diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index c8e594a..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,27 +0,0 @@ -{{ define "main" }} -{{ if .Menus }} - -{{ end }} - -
-
-

{{ trim .Title " " }}

-
-
- {{ .Content }} -
- {{ partial "post-info.html" . }} -
- -{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }} - {{ partial "paginationPost.html" . }} -{{ end }} - - -{{ partial "custom-webring.html" }} - -{{ end }} diff --git a/layouts/partials/single-extra.html b/layouts/partials/single-extra.html new file mode 100644 index 0000000..0d3b101 --- /dev/null +++ b/layouts/partials/single-extra.html @@ -0,0 +1 @@ +{{ partial "custom-webring.html" }} -- cgit 1.4.1