Simplify site config

This commit is contained in:
Cotes Chung 2020-12-08 01:49:56 +08:00
parent cf3943342a
commit d7d3bc9947

View file

@ -67,32 +67,29 @@ disqus:
shortname: '' # Fill with your Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname shortname: '' # Fill with your Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname
# Prefer color scheme setting, keep empty will follow the system prefer color by default. # Prefer color scheme setting.
# And there will be a toggle to switch the theme between dark and light #
# Note: Keep empty will follow the system prefer color by default,
# and there will be a toggle to switch the theme between dark and light
# on the bottom left of the sidebar. # on the bottom left of the sidebar.
# #
# Available values: # Available options:
# #
# light - Use the light color scheme # light - Use the light color scheme
# #
# dark - Use the dark color scheme # dark - Use the dark color scheme
# #
theme_mode: theme_mode: # <light|dark>
# boolean type, the global switch for ToC in posts. # boolean type, the global switch for ToC in posts.
toc: true toc: true
paginate: 10 paginate: 10
markdown: kramdown
highlighter: rouge
kramdown: kramdown:
input: GFM
syntax_highlighter: rouge syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options https://github.com/jneen/rouge#full-options syntax_highlighter_opts: # Rouge Options https://github.com/jneen/rouge#full-options
css_class: 'highlight' css_class: highlight
# default_lang: console # default_lang: console
span: span:
line_numbers: false line_numbers: false
@ -197,5 +194,5 @@ jekyll-archives:
category: category category: category
tag: tag tag: tag
permalinks: permalinks:
tag: '/tags/:name/' tag: /tags/:name/
category: '/categories/:name/' category: /categories/:name/