web/_config.yml

199 lines
4.9 KiB
YAML
Raw Normal View History

2019-09-30 15:38:41 +03:00
# The Site Settings
2020-01-02 16:17:49 +03:00
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
2019-09-30 15:38:41 +03:00
# © 2017-2019 Cotes Chung
# MIT licensed
# jekyll-seo-tag settings https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
2020-12-07 20:49:56 +03:00
# --------------------------
title: Chirpy # the main title
2019-09-30 15:38:41 +03:00
tagline: A text-focused Jekyll theme. # it will display as the sub-title
description: >- # used by seo meta and the atom feed
A minimal, portfolio, sidebar,
bootstrap Jekyll theme with responsive web design
and focuses on text presentation.
2019-09-30 15:38:41 +03:00
2020-11-21 23:24:09 +03:00
# fill in the base hostname & protocol for your site, e.g., 'https://username.github.io'
url: ''
2019-09-30 15:38:41 +03:00
2019-11-06 13:16:09 +03:00
author: your_full_name # change to your full name
2019-09-30 15:38:41 +03:00
avatar: /assets/img/sample/avatar.jpg # support internet resources
2019-09-30 15:38:41 +03:00
github:
username: github_username # change to your github username
twitter:
username: twitter_username # change to your twitter username
social:
2019-11-06 13:16:09 +03:00
name: your_full_name # it will shows as the copyright owner in Footer
2019-09-30 15:38:41 +03:00
email: example@doamin.com # change to your email address
links:
2019-11-06 13:16:09 +03:00
# The first element serves as the copyright owner's link
2019-09-30 15:38:41 +03:00
- https://twitter.com/username # change to your twitter homepage
- https://github.com/username # change to your github homepage
2019-11-06 13:16:09 +03:00
# Uncomment below to add more social links
2019-09-30 15:38:41 +03:00
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
google_site_verification: google_meta_tag_verification # change to your verification string
2020-12-07 20:49:56 +03:00
# --------------------------
2019-09-30 15:38:41 +03:00
2020-06-03 15:11:27 +03:00
# Only if your site type is GitHub Project sites and doesn't have a custom domain,
# change below value to '/projectname'.
2020-01-02 16:34:06 +03:00
baseurl: ''
2019-10-12 09:16:22 +03:00
# Change to your timezone http://www.timezoneconverter.com/cgi-bin/findzone/findzone
timezone: Asia/Shanghai
2019-09-30 15:38:41 +03:00
google_analytics:
2020-06-03 15:11:27 +03:00
id: '' # Fill with your Google Analytics ID
2020-04-01 15:33:49 +03:00
pv:
2020-06-03 15:11:27 +03:00
# The Google Analytics pageviews switch.
2020-04-01 15:33:49 +03:00
# DO NOT enable it unless you know how to deploy the Google Analytics superProxy.
enabled: false
# the next options only valid when `google_analytics.pv` is enabled.
proxy_url: ''
proxy_endpoint: ''
cache: false # pv data local cache, good for the users from GFW area.
2019-12-18 22:33:43 +03:00
2019-09-30 15:38:41 +03:00
disqus:
2020-01-02 16:34:06 +03:00
comments: false # boolean type, the global switch for posts comments.
shortname: '' # Fill with your Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname
2019-09-30 15:38:41 +03:00
2020-12-07 20:49:56 +03:00
# Prefer color scheme setting.
#
# 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
2020-12-06 20:14:40 +03:00
# on the bottom left of the sidebar.
#
2020-12-07 20:49:56 +03:00
# Available options:
#
# light - Use the light color scheme
#
# dark - Use the dark color scheme
#
2020-12-07 20:49:56 +03:00
theme_mode: # <light|dark>
2020-11-21 23:24:09 +03:00
# boolean type, the global switch for ToC in posts.
2019-09-30 15:38:41 +03:00
toc: true
paginate: 10
kramdown:
syntax_highlighter: rouge
2020-12-07 20:49:56 +03:00
syntax_highlighter_opts: # Rouge Options https://github.com/jneen/rouge#full-options
css_class: highlight
2019-09-30 15:38:41 +03:00
# default_lang: console
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
2020-06-03 15:11:27 +03:00
# DO NOT change this unless you're a Pro user on Jekyll and Web development,
# or you think you're smart enough to change other relevant URLs within this template.
2019-09-30 15:38:41 +03:00
permalink: /posts/:title/
2020-11-21 23:24:09 +03:00
collections:
tabs:
output: true
sort_by: order
2019-09-30 15:38:41 +03:00
defaults:
-
scope:
2020-11-21 23:24:09 +03:00
path: '' # An empty string here means all files in the project
2019-09-30 15:38:41 +03:00
type: posts
values:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
breadcrumb:
-
label: Posts
url: /
-
scope:
path: _drafts
values:
comments: false
2020-11-26 18:25:56 +03:00
-
scope:
path: index.html
values:
breadcrumb:
-
label: Posts
2019-09-30 15:38:41 +03:00
-
scope:
path: tags
values:
breadcrumb:
-
label: Home
url: /
-
label: Tags
url: /tabs/tags/
-
scope:
path: categories
values:
breadcrumb:
-
label: Home
url: /
-
label: Categories
url: /tabs/categories/
-
scope:
2020-11-21 23:24:09 +03:00
path: ''
type: tabs # see `site.collections`
2019-09-30 15:38:41 +03:00
values:
layout: page
2019-10-12 09:16:22 +03:00
dynamic_title: true # Hide title in mobile screens.
2019-09-30 15:38:41 +03:00
breadcrumb:
-
label: Home
url: /
2020-01-08 20:45:01 +03:00
2019-09-30 15:38:41 +03:00
sass:
sass_dir: /assets/css
style: compressed
compress_html:
clippings: all
2020-10-12 09:18:02 +03:00
comments: all
endings: all
2019-09-30 15:38:41 +03:00
profile: false
blanklines: false
ignore:
envs: []
exclude:
2020-11-26 18:52:59 +03:00
- vendor
2019-09-30 15:38:41 +03:00
- Gemfile.lock
- Gemfile
2020-01-01 20:21:43 +03:00
- tools
- docs
2020-04-08 17:45:25 +03:00
- README.md
2020-06-26 12:33:43 +03:00
- LICENSE
2019-09-30 15:38:41 +03:00
2020-11-26 18:52:59 +03:00
jekyll-archives:
enabled: [categories, tags]
layouts:
category: category
tag: tag
permalinks:
2020-12-07 20:49:56 +03:00
tag: /tags/:name/
category: /categories/:name/