summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2021-01-08 12:19:13 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2021-01-08 12:19:13 +0800
commitf3852ccd94cf3a1288f2a01b00c1ab620bc1fc15 (patch)
treebf9aa0d1a3c1194b0244c5ec54def5038ba2e507
parent7af0bc47015f768c29a486e9f53275cac527f111 (diff)
chore: add badge options and some comments
-rw-r--r--_config.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 5ebd559..0ca380e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -101,9 +101,24 @@ yat:
# Night/Dark mode
# Default mode is "auto", "auto" is for auto nightshift
# (19:00 - 07:00), "manual" is for manual toggle, and
-# "on/off" is for always on/off.
+# "on/off" is for default on/off.
+#
+# Whatever the user's choice is, it will supersede the
+# default setting of the site and be kept during the
+# visit (session). Only the dark mode setting is"manual",
+# it will be always kept on every visit (i.e. no matter
+# the browser is closed or not)
+#
# night_mode: "auto"
+# Code badge setting
+# You can enable or disable the code badge and so on
+# code_badge:
+# enabled: "true"
+# color: "#fff"
+# background_color: "#ff4e00"
+# text_transform: "uppercase" # ("uppercase", "lowercase", "capitalize")
+
# If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up
# header_pages: