From adae41dcaf07ce85534527fb61c37ce25ec79f9c Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 16 Sep 2025 22:07:23 +0200 Subject: [PATCH] homogeneisation posts et pages --- .../zhaohuabing/layouts/_default/single.html | 30 ------------------- themes/zhaohuabing/layouts/index.html | 2 ++ 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/themes/zhaohuabing/layouts/_default/single.html b/themes/zhaohuabing/layouts/_default/single.html index a7c7090..2a4b458 100644 --- a/themes/zhaohuabing/layouts/_default/single.html +++ b/themes/zhaohuabing/layouts/_default/single.html @@ -2,37 +2,7 @@ {{ define "main" }}
-
-
- -
- {{ if eq (.Param "multilingual") true }} - {{ partial "multilingual-sel.html" . }} - - -
- {{$file := "/about/index-zh.md"}} - {{ $file | readFile | markdownify}} -
- - -
- {{ .Content }} -
- {{ else }} {{ .Content }} - {{ end }} - -
- - {{ partial "sidebar.html" . }} -
-
{{ end }} diff --git a/themes/zhaohuabing/layouts/index.html b/themes/zhaohuabing/layouts/index.html index 9983b08..e4728be 100644 --- a/themes/zhaohuabing/layouts/index.html +++ b/themes/zhaohuabing/layouts/index.html @@ -1,3 +1,5 @@ {{ define "main" }} +
{{ .Content }} +
{{ end }}