From f3852ccd94cf3a1288f2a01b00c1ab620bc1fc15 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Fri, 8 Jan 2021 12:19:13 +0800 Subject: chore: add badge options and some comments --- _config.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3