Add repo and theme switch
All checks were successful
/ build (push) Successful in 40s

This commit is contained in:
Chris Cowley 2024-10-24 13:26:15 +00:00
parent b1d8c73fd7
commit ef56dc75ff

View file

@ -1,10 +1,36 @@
site_name: Cowley-tech homelab docs
site_url: https://docs.lab.cowley.tech
repo_url: https://code.lab.cowley.tech/homelab/homelab-docs
theme:
name: material
language: en
features:
- navigation.top
- search.suggest
- search.highlight
- content.code.annotate
- content.code.copy
palette:
primary: blue grey
#primary: blue grey
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: teal
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
# - scheme: default
# toggle:
# icon: material/brghtness-7
@ -19,8 +45,19 @@ theme:
- search.highlight
icon:
logo: logo-monochrome
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/chriscowley
- icon: fontawesome/brands/mastodon
link: https://hackyderm.io/ccunix
- icon: fontawesome/brands/x-twitter
link: https://x.com/ccunix9
plugins:
- tags
- search
- social
markdown_extensions:
- footnotes