From e25864f636cb33b1d4ebdb47ba45f78d601d49a3 Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 16 Sep 2025 21:43:05 +0200 Subject: [PATCH] remove comments and try to fix overflow --- themes/zhaohuabing/layouts/_default/page.html | 2 - .../zhaohuabing/layouts/_default/single.html | 143 +++--------------- .../zhaohuabing/layouts/partials/sidebar.html | 4 +- 3 files changed, 25 insertions(+), 124 deletions(-) diff --git a/themes/zhaohuabing/layouts/_default/page.html b/themes/zhaohuabing/layouts/_default/page.html index 4217502..a7c7090 100644 --- a/themes/zhaohuabing/layouts/_default/page.html +++ b/themes/zhaohuabing/layouts/_default/page.html @@ -28,8 +28,6 @@ {{ .Content }} {{ end }} - {{ partial "comments.html" . }} - {{ partial "sidebar.html" . }} diff --git a/themes/zhaohuabing/layouts/_default/single.html b/themes/zhaohuabing/layouts/_default/single.html index 2efe2b3..a7c7090 100644 --- a/themes/zhaohuabing/layouts/_default/single.html +++ b/themes/zhaohuabing/layouts/_default/single.html @@ -1,137 +1,40 @@ -{{ define "header" }} - - -{{ if eq .Params.headerstyle "text" }} -
-{{ else }} -
-{{ end }} -
-
-
-
-
- {{ range .Params.tags }} - - {{ . }} - - {{ end }} -
-

{{ .Title }}

-

{{ .Params.subtitle }}

-
-
-
-
-
-{{ end }} {{ define "main" }}
-
+ col-lg-8 + col-md-8 + col-sm-12 + col-xs-12 + post-container"> + {{ if eq (.Param "multilingual") true }} + {{ partial "multilingual-sel.html" . }} - - {{ .Content }} - - {{ if .Site.Params.reward }} - {{ partial "reward.html" . }} - {{ end }} - - {{ if or (.PrevInSection) (.NextInSection) }} -
- - {{ end }} - -
- - - {{ if not (eq (.Param "showtoc") false) }} -
{{ end }} + + diff --git a/themes/zhaohuabing/layouts/partials/sidebar.html b/themes/zhaohuabing/layouts/partials/sidebar.html index ae33796..4cf6151 100644 --- a/themes/zhaohuabing/layouts/partials/sidebar.html +++ b/themes/zhaohuabing/layouts/partials/sidebar.html @@ -19,9 +19,9 @@