Set dark mode as default and 'removed' stars from the light mode

Actually, I just made them the same color, because of CSS limitations.
This commit is contained in:
2025-02-20 10:20:07 +00:00
parent d259bca4bd
commit 9d263a0e60
3 changed files with 1079 additions and 508 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,7 @@
baseURL: "https://trude.dev"
title: trude.dev
pagerSize: 5
pagination:
pagerSize: 5
theme: PaperMod
copyright: "Open-source - MIT License"
#canonifyURLs: true
@@ -38,7 +39,7 @@ params:
author: "TrudeEH"
images: ["logo.svg"]
DateFormat: "January 2, 2006"
defaultTheme: auto # dark, light
defaultTheme: dark # dark, light
disableThemeToggle: false
social: true
mainSections:

View File

@@ -17,9 +17,11 @@
{{- print " dark" }}
{{- end -}}
" id="top">
{{ if .IsHome }}
<div id='stars'></div>
<div id='stars2'></div>
<div id='stars3'></div>
{{ end }}
{{- partialCached "header.html" . .Page -}}
<main class="main">
{{- block "main" . }}{{ end }}