diff options
author | vvveiii <cntrump@gmail.com> | 2019-12-30 15:52:48 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2019-12-30 15:52:48 +0300 |
commit | 3585889ee125051ec8af9723bea6559255618f9b (patch) | |
tree | 602ac94ce83c5285a3602538584edd35fae9413d /README.md | |
parent | 2d2ff117756cf0e9c1fc2afd5d39581d60f7b2a7 (diff) |
support select light or dark mode
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -16,7 +16,7 @@ Features - CC License - Builtin `Source Code Pro` font for code - Pagination with large number of pages supporting -- DarkMode supporting +- Light & Dark Mode - Google analytics supporting Preview the exampleSite: @@ -60,6 +60,7 @@ noClasses = false unsafe = true # enable raw HTML in Markdown [params] +style = "auto" # default: auto. light: light theme, dark: dark theme, auto: based on system. logo = "" # if you have a logo png slogan = "100% JavaScript-free" license = "" # CC License @@ -97,6 +98,15 @@ logo = "/img/logo.png" slogan = "code my life ~" ``` +### Light and Dark Mode + +```toml +[params] +style = "auto" # default: "auto", based on system. "light": light theme, "dark": dark theme. +logo = "/img/logo.png" +slogan = "code my life ~" +``` + ### Navigation items ```toml |