Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2021-02-06 20:54:51 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2021-02-06 20:54:51 +0300
commitb5dd0e3bb12ae755b4dad5ade136199e6d5d0a42 (patch)
treebd6eb6f26ae0002d79aed1c8e01e29f9ae147742
parent5599b1bb32d951c7c5bad3f1e1afe76c8ff1d307 (diff)
fixing purge of .dark class
-rw-r--r--layouts/_default/baseof.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f1afa1f..79d75d7 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,7 +8,8 @@
</head>
<body class="min-h-screen bg-secondary-light dark:bg-secondary text-primary relative pb-24">
- <div id="top"></div>
+ {{/* class dark to prevent purge css from purging it */}}
+ <div id="top" class="dark"></div>
{{- partial "dev/size-indicator.html" . -}}
{{- partial "header.html" . -}}