From 156f1eb9623a54843a728936b08851cdb7aa21e3 Mon Sep 17 00:00:00 2001 From: Arun Mathai Date: Tue, 14 Jan 2025 17:27:28 +0530 Subject: feat(copy-code): To allow user to copy contents within code block to clipboard fix(ui): corrections told by tomfran fix(ui): add more contrast to button. fix(ui): loading js as deferred --- layouts/_default/baseof.html | 49 ++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 24 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 462b2e8..52a6767 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,39 +2,39 @@ - - {{ partial "head.html" . }} - + + {{ partial "head.html" . }} + - {{ $theme := "auto"}} +{{ $theme := "auto"}} - {{ with .Param "theme" }} - {{ $theme = .}} - {{ end }} +{{ with .Param "theme" }} +{{ $theme = .}} +{{ end }} - + -
-
- {{ partial "header.html" . }} -
+
+
+ {{ partial "header.html" . }} +
-
- {{ block "main" . }}{{ end }} -
-
+
+ {{ block "main" . }}{{ end }} +
+
- + - {{ if .Param "math" }} - {{ partialCached "math.html" . }} - {{ end }} + {{ if .Param "math" }} + {{ partialCached "math.html" . }} + {{ end }} - + - + \ No newline at end of file -- cgit v1.2.3