Simplify site config

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

View file

@ -6,7 +6,7 @@
# jekyll-seo-tag settings https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md # jekyll-seo-tag settings https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
#-------------------------- # --------------------------
title: Chirpy # the main title title: Chirpy # the main title
tagline: A text-focused Jekyll theme. # it will display as the sub-title tagline: A text-focused Jekyll theme. # it will display as the sub-title
@ -41,7 +41,7 @@ social:
# - https://www.linkedin.com/in/username # - https://www.linkedin.com/in/username
google_site_verification: google_meta_tag_verification # change to your verification string google_site_verification: google_meta_tag_verification # change to your verification string
#-------------------------- # --------------------------
# Only if your site type is GitHub Project sites and doesn't have a custom domain, # Only if your site type is GitHub Project sites and doesn't have a custom domain,
@ -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/