blog/_config.yml
Yuchen Zhang b3e6ee2f69
feat: support copyright placeholders/variables (#46)
* feat: re-format copyright message and auto increase current year

* docs: add comment for copyright setting

This comment is crucial, especially for newcomers.

* refactor: better liquid code format

Co-authored-by: jeffreytse <jeffreytse.mail@gmail.com>
2021-06-29 10:31:58 +08:00

205 lines
6 KiB
YAML

# Welcome to Jekyll!
#
# About Theme
#
# Yet another theme for elegant writers with modern flat style and beautiful
# night/dark mode.
#
# Website: https://github.com/jeffreytse/jekyll-theme-yat
#
# You can do anything you want, including projects for your clients, as long
# as you mention an attribution back (credit links in footer or project).
# See the LICENCE file.
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that.
#
# For technical reasons, this file is *NOT* reloaded automatically when you
# use 'bundle exec jekyll serve'. If you change this file, please restart
# the server process.
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: your-email@domain.com
author: GitHub User
# Copyright setting
# You can use any html code, currently below placeholders are available:
# * current year: {currentYear}
# * author: {author} (Value is the same as site.author)
# * copyright: (c) - ©
# * copyleft: (cleft)
# * sound recording copyright: (p) - ℗
#
# For example:
# "Copyright (c) 2017-{currentYear} <a href="https://example.com">{author}</a>"
# "Copyright © 2017-2021 Foobar"
#
copyright: "Unpublished Work (cleft) 2017-{currentYear} {author}"
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
favicon: "" # the favicon for your site
# Yat date format
# refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
yat:
date_format: "%b %d, %Y"
# If you want more debug log, you can set true
# debug: false
# If you don't want transparent header, you can set false
# header_transparent: true
# Google analytics
# google_analytics: [Tracking ID]
# If you want to generate website sitemap, you can set true
# sitemap: false
# If you want to change site language, you can set lang option
# lang: "en" # default lang is en
# Translate languges
# langs refer to https://cloud.google.com/translate/docs/languages
# translate_langs:
# - lang: en
# img: https://cdn.countryflags.com/thumbs/united-states-of-america/flag-400.png
# text: English
#
# - lang: fr
# img: https://cdn.countryflags.com/thumbs/france/flag-400.png
# text: French
#
# - lang: zh-CN
# img: https://cdn.countryflags.com/thumbs/china/flag-400.png
# text: Chinese(Simple)
#
# - lang: ja
# img: https://cdn.countryflags.com/thumbs/japan/flag-400.png
# text: Japanese
#
# - lang: ko
# img: https://cdn.countryflags.com/thumbs/south-korea/flag-400.png
# text: Korean
#
# - lang: ru
# img: https://cdn.countryflags.com/thumbs/russia/flag-400.png
# text: Russian
# You can choose a theme color
# Default theme colors as below:
# coolblack: #090a0b
# spacegrey: #353535
# snowwhite: #ffffff
#
# theme_color: snowwhite
#
# Custom color as below:
# theme_color: "#882250"
# You can choose a brand color
# Default brand colors as below:
# orangered: #ff5100
# greatgold: #f2cb05
# greenblue: #389092
#
# brand_color: orangered
#
# Custom color as below:
# brand_color: "#1a8e42"
# Night/Dark mode
# Default mode is "auto", "auto" is for auto nightshift
# (19:00 - 07:00), "manual" is for manual toggle, and
# "on/off" is for default on/off.
#
# Whatever the user's choice is, it will supersede the
# default setting of the site and be kept during the
# visit (session). Only the dark mode setting is"manual",
# it will be always kept on every visit (i.e. no matter
# the browser is closed or not)
#
# night_mode: "auto"
# Code badge setting
# You can enable or disable the code badge and so on
# code_badge:
# enabled: "true"
# color: "#fff"
# background_color: "#ff4e00"
# text_transform: "uppercase" # ("uppercase", "lowercase", "capitalize")
# If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up
# header_pages:
# - index.html
# - archives.html
# - categories.html
# - tags.html
# - about.md
# Page default value
# defaults:
# home:
# heading: "Your awesome heading"
# subheading: "Your awesome subheading"
# banner: "Your image url"
# Banner default settings
# These banner settings are for global banner default, but you can also
# config it by the front matter for one specific post
# banner:
# video: null # Video banner source
# loop: true # Video loop
# volume: 0 # Video volume (100% is 1.0)
# start_at: 0 # Video start time
# image: null # Image banner source
# opacity: 1.0 # Banner opacity (100% is 1.0)
# background: "rgba(0, 0, 0, 0.8)" # Banner background (Could be a image)
# height: "640px" # Banner default height
# min_height: null # Banner minium height
# heading_style: null # Custom heading style (e.g. "font-weight: bold; text-decoration: underline")
# subheading_style: null # Custom subheading style (e.g. color: gold)
# Excerpt size setting
# excerpt_size: 350
# Pagination setting
# paginate: 5
# Disqus comments
# disqus:
# shortname: "Your Disqus username"
# Gitment comments
# gitment:
# username: "Your GitHub username"
# repo: "The repo to store comments"
# client_id: "Your client ID"
# client_secret: "Your client secret"
# redirect_uri: "Your redirect url" # If you use a custom domain name
# Build settings
# highlighter: none
markdown: kramdown
kmarkdown:
input: GFM
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-paginate
- jekyll-spaceship