From 5ebe0b0b8d168ce7987d50aced6b23c232bede78 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 09 Jul 2023 12:47:24 +0000
Subject: [PATCH] update template

---
 layouts/_default/baseof.html |   72 ++++++++++++++++++------------------
 1 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 05580c0..3a515d4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,42 +4,42 @@
 <html lang="{{ site.Language.Lang }}"{{ with $config.enableDarkMode }} class="dark"{{ end }}{{ with $config.defaultLightingMode }}
   data-mode="{{ . }}"
 {{ end }}>
-<head>
-  {{- partial "head" . }}
-</head>
-<body class="page-{{ .Kind }}" id="pagetop">
-  <header class="nav_header">
-    {{- partial "nav" . }}
-  </header>
-  {{ if or (eq .Section site.Params.blogDir) (eq .Type "search" ) }}
-    {{- block "main" . }}{{ end }}
-  {{ else }}
-  <div class="main wrap pt-4">
-    {{ $docSections := site.Params.docSections }}
-    {{- with $docSections }}{{- else }}
-      {{- $docSections = "docs" }}
-    {{- end }}
-    {{ $uniqueHomepage := .IsHome }}
-    {{ if site.Params.uniqueHomepage }}
-      {{ if .IsHome }}
-        {{ $uniqueHomepage = true }}
-      {{ end }}
+  <head>
+    {{- partial "head" . }}
+  </head>
+  <body class="page-{{ .Kind }}" id="pagetop">
+    <header class="nav_header">
+      {{- partial "nav" . }}
+    </header>
+    {{ if or (eq .Section site.Params.blogDir) (eq .Type "search" ) }}
+      {{- block "main" . }}{{ end }}
     {{ else }}
-      {{ $uniqueHomepage = false }}
+    <div class="main wrap pt-4">
+      {{ $docSections := site.Params.docSections }}
+      {{- with $docSections }}{{- else }}
+        {{- $docSections = "docs" }}
+      {{- end }}
+      {{ $uniqueHomepage := .IsHome }}
+      {{ if site.Params.uniqueHomepage }}
+        {{ if .IsHome }}
+          {{ $uniqueHomepage = true }}
+        {{ end }}
+      {{ else }}
+        {{ $uniqueHomepage = false }}
+      {{ end }}
+      {{- if and (in $docSections .Section) (ne $uniqueHomepage true) }}
+        {{- partial "document" . }}
+      {{- else }}
+        <div class="content">
+          {{- block "main" . }}{{ end }}
+        </div>
+      {{- end -}}
+    </div>
     {{ end }}
-    {{- if and (in $docSections .Section) (ne $uniqueHomepage true) }}
-      {{- partial "document" . }}
-    {{- else }}
-      <div class="content">
-        {{- block "main" . }}{{ end }}
-      </div>
-    {{- end -}}
-  </div>
-  {{ end }}
-  {{- partial "scripts/translations" . -}}
-  {{- partialCached "footer" . -}}
-  {{- partialCached "sprites" . -}}
-  {{- partial "scripts/bundle" . -}}
-  {{- partial "scripts/other" . -}}
-</body>
+    {{- partial "scripts/translations" . -}}
+    {{- partialCached "footer" . -}}
+    {{- partialCached "sprites" . -}}
+    {{- partial "scripts/bundle" . -}}
+    {{- partial "scripts/other" . -}}
+  </body>
 </html>

--
Gitblit v1.10.0