Files
startup-project-for-jekyll-…/_config.yml
2025-11-07 00:44:07 +08:00

82 lines
2.0 KiB
YAML

# ------------------------------------------
# Override default settings here
# See: https://jekyllrb.com/docs/configuration/
# ------------------------------------------
baseurl: "" # for root deployment
url: ""
# -- Multilingual support
languages: ["en", "tc", "sc"]
default_lang: "en"
exclude_from_localization: ["assets", "images"]
# -- Permalink settings
# NOTE: Permalinks = pretty, will create /about/index.html instead of /about.html
# permalink: pretty
# -- Stylesheet settings
sass:
# See: https://github.com/jekyll/jekyll-sass-converter#usage
style: compressed
# For Bootstrap 5 SCSS, SaSS reported deprecation warnings,
# to suppress them, set the following option to true
quiet_deps: true
# -- Plugins
# plugins:
# - jekyll-sitemap
# - jekyll-autoprefixer
# -- Plugins: Autoprefixer settings
# NOTE: Autoprefixer is disabled at Windows environment due to build issues.
# autoprefixer:
# browsers:
# - last 4 versions
# -- Plugins: _plugin/relative_path_filters.rb settings
# Use this filter to handle local/production differences in baseurl
# and to convert absolute paths to relative paths.
RelativePathFilter:
enabled: true
# -- Plugins: _plugin/breadcrumbs.rb settings
breadcrumbs:
root:
hide: true # show breadcrumbs on root/home page
image: true # Show image or title text
# ------------------------------------------
# Default values for site (site.<variable>)
# ------------------------------------------
title:
en: "Test Project"
tc: "測試項目"
sc: "测试项目"
# ------------------------------------------
# Default values for pages and posts
# ------------------------------------------
defaults:
- scope:
path: "" # All pages
values:
lang: "en"
layout: "page"
html-lang: "en"
- scope:
path: "tc"
values:
lang: "tc"
html-lang: "zh-Hant"
- scope:
path: "sc"
values:
lang: "sc"
html-lang: "zh-Hans"
# ------------------------------------------
# Settings for post types
# ------------------------------------------