mirror of
https://github.com/TrudeEH/web.git
synced 2025-12-06 08:23:37 +00:00
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:
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,7 @@
|
|||||||
baseURL: "https://trude.dev"
|
baseURL: "https://trude.dev"
|
||||||
title: trude.dev
|
title: trude.dev
|
||||||
pagerSize: 5
|
pagination:
|
||||||
|
pagerSize: 5
|
||||||
theme: PaperMod
|
theme: PaperMod
|
||||||
copyright: "Open-source - MIT License"
|
copyright: "Open-source - MIT License"
|
||||||
#canonifyURLs: true
|
#canonifyURLs: true
|
||||||
@@ -38,7 +39,7 @@ params:
|
|||||||
author: "TrudeEH"
|
author: "TrudeEH"
|
||||||
images: ["logo.svg"]
|
images: ["logo.svg"]
|
||||||
DateFormat: "January 2, 2006"
|
DateFormat: "January 2, 2006"
|
||||||
defaultTheme: auto # dark, light
|
defaultTheme: dark # dark, light
|
||||||
disableThemeToggle: false
|
disableThemeToggle: false
|
||||||
social: true
|
social: true
|
||||||
mainSections:
|
mainSections:
|
||||||
|
|||||||
@@ -17,9 +17,11 @@
|
|||||||
{{- print " dark" }}
|
{{- print " dark" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
" id="top">
|
" id="top">
|
||||||
|
{{ if .IsHome }}
|
||||||
<div id='stars'></div>
|
<div id='stars'></div>
|
||||||
<div id='stars2'></div>
|
<div id='stars2'></div>
|
||||||
<div id='stars3'></div>
|
<div id='stars3'></div>
|
||||||
|
{{ end }}
|
||||||
{{- partialCached "header.html" . .Page -}}
|
{{- partialCached "header.html" . .Page -}}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
{{- block "main" . }}{{ end }}
|
{{- block "main" . }}{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user