From de2b6b9a1b95cb6af7eb421d9a4de054e7e41315 Mon Sep 17 00:00:00 2001
From: SafEight <43656822+SafEight@users.noreply.github.com>
Date: Sat, 19 Nov 2022 21:17:55 +0000
Subject: [PATCH] feat: Replace == with <mark> (#234)

---
 layouts/_default/single.html |   29 ++++++++++++++++-------------
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c7ce881..c59abc8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,24 +1,27 @@
 <!DOCTYPE html>
-<html lang="en">
+<html lang="{{ .Lang }}">
 {{ partial "head.html" . }}
 
 <body>
+{{partial "search.html" .}}
 <div class="singlePage">
     <!-- Begin actual content -->
-    {{partial "darkmode.html" .}}
+    {{partial "header.html" .}}
     <article>
-        {{if .Title}}<h1>{{ .Title }}</h1>{{end}}
-        {{- .Content -}}
+      {{if .Title}}<h1>{{ .Title }}</h1>{{end}}
+      <p class="meta">
+        {{ i18n "last_updated" }} {{ partial "date-fmt.html" .}} 
+          {{ partial "github.html" . }}
+      </p>
+      <ul class="tags">
+          {{ range (.GetTerms "tags") }}
+          <li><a href="{{ .Permalink }}">{{ .LinkTitle | humanize }}</a></li>
+          {{ end }}
+      </ul>
+      {{partial "toc.html" .}}
+      {{partial "textprocessing.html" . }}
     </article>
     {{partial "footer.html" .}}
 </div>
-
-{{- with resources.Get "darkmode.js" | minify -}}
-<script>
-  {{.Content | safeJS }}
-</script>
-{{- end -}}
-
 </body>
-
-</html>
\ No newline at end of file
+</html>

--
Gitblit v1.10.0