krata/_config.yml

172 lines
4.7 KiB
YAML
Raw Normal View History

2021-01-24 23:20:51 +01:00
# The Site Configuration
2019-09-30 14:38:41 +02:00
2021-01-31 19:56:13 +01:00
# Import the theme
theme: jekyll-theme-chirpy
# Only if your site type is GitHub Project sites and doesn't have a custom domain,
# change below value to '/projectname'.
baseurl: ''
# the HTML language tag https://www.w3.org/International/questions/qa-choosing-language-tags
lang: en-US
# Change to your timezone http://www.timezoneconverter.com/cgi-bin/findzone/findzone
timezone: Asia/Shanghai
2019-09-30 14:38:41 +02:00
# jekyll-seo-tag settings https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
2020-12-07 18:49:56 +01:00
# --------------------------
title: Chirpy # the main title
2019-09-30 14:38:41 +02: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 14:38:41 +02:00
# fill in the protocol & hostname for your site, e.g., 'https://username.github.io'
2020-11-21 21:24:09 +01:00
url: ''
2019-09-30 14:38:41 +02:00
github:
username: github_username # change to your github username
twitter:
username: twitter_username # change to your twitter username
social:
# Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer
name: your_full_name
2019-09-30 14:38:41 +02:00
email: example@doamin.com # change to your email address
links:
2019-11-06 11:16:09 +01:00
# The first element serves as the copyright owner's link
2019-09-30 14:38:41 +02:00
- https://twitter.com/username # change to your twitter homepage
- https://github.com/username # change to your github homepage
2019-11-06 11:16:09 +01:00
# Uncomment below to add more social links
2019-09-30 14:38:41 +02: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 18:49:56 +01:00
# --------------------------
2019-09-30 14:38:41 +02:00
google_analytics:
id: '' # fill in your Google Analytics ID
# Google Analytics pageviews report settings
2020-04-01 14:33:49 +02:00
pv:
proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
cache_path: # the local PV cache data, friendly to visitors from GFW region
2019-12-18 20:33:43 +01:00
2020-12-07 18:49:56 +01: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 18:14:40 +01:00
# on the bottom left of the sidebar.
#
2020-12-07 18:49:56 +01:00
# Available options:
#
# light - Use the light color scheme
# dark - Use the dark color scheme
#
theme_mode: # [light|dark]
# The CDN endpoint for images.
# Notice that once it is assigned, the CDN url
# will be added to all image (site avatar & posts' images) paths starting with '/'
#
# e.g. 'https://cdn.com'
img_cdn: ''
2021-01-09 15:31:43 +01:00
# the avatar on sidebar, support local or CORS resources
avatar: https://cdn.jsdelivr.net/gh/cotes2020/chirpy-images/commons/avatar.jpg
2020-11-21 21:24:09 +01:00
# boolean type, the global switch for ToC in posts.
2019-09-30 14:38:41 +02:00
toc: true
disqus:
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 14:38:41 +02:00
paginate: 10
# ------------ The following options are not recommended to be modified ------------------
2019-09-30 14:38:41 +02:00
kramdown:
syntax_highlighter: rouge
2020-12-07 18:49:56 +01:00
syntax_highlighter_opts: # Rouge Options https://github.com/jneen/rouge#full-options
css_class: highlight
2019-09-30 14:38:41 +02:00
# default_lang: console
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
2020-06-03 14:11:27 +02: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 14:38:41 +02:00
permalink: /posts/:title/
2020-11-21 21:24:09 +01:00
collections:
tabs:
output: true
sort_by: order
2019-09-30 14:38:41 +02:00
defaults:
-
scope:
2020-11-21 21:24:09 +01:00
path: '' # An empty string here means all files in the project
2019-09-30 14:38:41 +02:00
type: posts
values:
layout: post
comments: true # Enable comments in posts.
toc: true # Display TOC column in posts.
-
scope:
path: _drafts
values:
comments: false
-
scope:
2020-11-21 21:24:09 +01:00
path: ''
type: tabs # see `site.collections`
2019-09-30 14:38:41 +02:00
values:
layout: page
permalink: /:title/
2019-10-12 08:16:22 +02:00
dynamic_title: true # Hide title in mobile screens.
2020-01-08 18:45:01 +01:00
2019-09-30 14:38:41 +02:00
sass:
style: compressed
compress_html:
clippings: all
2020-10-12 08:18:02 +02:00
comments: all
endings: all
2019-09-30 14:38:41 +02:00
profile: false
blanklines: false
ignore:
2020-12-19 16:01:46 +01:00
envs: [development]
2019-09-30 14:38:41 +02:00
exclude:
2020-11-26 16:52:59 +01:00
- vendor
2019-09-30 14:38:41 +02:00
- Gemfile
2021-01-29 22:27:25 +01:00
- Gemfile.lock
2021-02-03 20:38:04 +01:00
- '*.gem'
- '*.gemspec'
2020-01-01 18:21:43 +01:00
- tools
- docs
2020-04-08 16:45:25 +02:00
- README.md
2020-06-26 11:33:43 +02:00
- LICENSE
2021-01-23 08:07:18 +01:00
- gulpfile.js
- node_modules
- package.json
- package-lock.json
2019-09-30 14:38:41 +02:00
2020-11-26 16:52:59 +01:00
jekyll-archives:
enabled: [categories, tags]
layouts:
category: category
tag: tag
permalinks:
2020-12-07 18:49:56 +01:00
tag: /tags/:name/
category: /categories/:name/