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 + themes/anibus | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 layouts/_default/single.html create mode 100644 layouts/partials/single-extra.html 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" }} diff --git a/themes/anibus b/themes/anibus index 329ed57..a727e19 160000 --- a/themes/anibus +++ b/themes/anibus @@ -1 +1 @@ -Subproject commit 329ed57132ac74345f3aa432ecb733a760acd2f7 +Subproject commit a727e192cd1cc5c9aa39674efd62b1222635d211 -- cgit 1.4.1