web/_config.yml

173 lines
4.1 KiB
YAML
Raw Normal View History

2019-09-30 15:38:41 +03:00
# The Site Settings
# © 2017-2019 Cotes Chung
# MIT licensed
# jekyll-seo-tag settings https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
#--------------------------
title: Chirpy
description: 'A text-based Jekyll theme.'
2019-11-25 17:01:40 +03:00
# Replace with your domain, e.g. 'https://username.github.io'
2019-09-30 15:38:41 +03:00
url: 'https://www.example.com'
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
2019-10-21 08:18:25 +03:00
avatar: /assets/img/sample/avatar.jpg # Support network 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
#--------------------------
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:
2019-11-25 15:56:50 +03:00
# Fill with your Google Analytics ID
id: ''
2019-10-12 09:16:22 +03:00
# The Google Analytics pageviews switch.
# DO NOT enable it unless you know how to deploy the Google Analytics superProxy.
2019-09-30 15:38:41 +03:00
pv: false
2019-11-25 15:56:50 +03:00
# superProxy Url, only valid when `google_analytics.pv` is set to 'true'
proxy_url: ''
2019-09-30 15:38:41 +03:00
disqus:
2019-11-25 17:01:40 +03:00
shortname: 'disqus' # Change to your Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname
comments: true # boolean type, the global switch for posts comments.
2019-09-30 15:38:41 +03:00
# The year your website was first run.
first_run: 2019
2019-11-25 17:01:40 +03:00
# boolean type, global switch for ToC in posts.
2019-09-30 15:38:41 +03:00
toc: true
# if your site type is Project Pages site, change below value to '/projectname'
baseurl: ''
paginate: 10
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options https://github.com/jneen/rouge#full-options
css_class: 'highlight'
# default_lang: console
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
permalink: /posts/:title/
defaults:
-
scope:
path: "" # An empty string here means all files in the project
type: posts
values:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
location: Post
breadcrumb:
-
label: Posts
url: /
-
scope:
path: _drafts
values:
comments: false
-
scope:
path: tags
values:
location: Tag
breadcrumb:
-
label: Home
url: /
-
label: Tags
url: /tabs/tags/
-
scope:
path: categories
values:
location: Category
breadcrumb:
-
label: Home
url: /
-
label: Categories
url: /tabs/categories/
-
scope:
path: tabs
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: /
sass:
sass_dir: /assets/css
style: compressed
compress_html:
clippings: all
comments: ["<!-- ", " -->"]
endings: [html, head, body, dt, dd, rt, rp, optgroup, option, colgroup, caption, thead, tbody, tfoot, tr, td, th]
profile: false
blanklines: false
ignore:
envs: []
exclude:
2019-10-12 09:16:22 +03:00
- vendor/ # Avoid Jekyll mistakenly read the vender directory on Travis-CI's VM .
2019-09-30 15:38:41 +03:00
- Gemfile.lock
- Gemfile
- run.sh
- build.sh
- init.sh
- pv.sh
sitemap_exclude: # Sitemap will exclude the following items.
- /norobots/
- /assets/
- /tabs/
- /categories/
- /tags/
- /posts/
- /404.html
- /redirects.json
- /search.json