-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #742 from alexwlchan/tidy-up-config
Tidy up my _config.yml configuration file
- Loading branch information
Showing
7 changed files
with
74 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,74 @@ | ||
title: "alexwlchan" | ||
emails: | ||
personal: "[email protected]" | ||
wellcome: "[email protected]" | ||
# ==================== | ||
# Global configuration | ||
# ==================== | ||
# | ||
# See https://jekyllrb.com/docs/configuration/options/#global-configuration | ||
|
||
source: "src" | ||
destination: "_site" | ||
|
||
include: | ||
|
||
# This file is used by Netlify to define redirects. I also use it | ||
# to create the custom 404 page. | ||
# | ||
# Jekyll ignores files that start with an underscore, so I need to | ||
# include this explicitly. | ||
# | ||
# See https://docs.netlify.com/routing/redirects/ | ||
- "_redirects" | ||
|
||
# ===================== | ||
# Build command options | ||
# ===================== | ||
# | ||
# See https://jekyllrb.com/docs/configuration/options/#build-command-options | ||
|
||
# This enables strict parsing of the YAML front matter. | ||
strict_front_matter: true | ||
|
||
# ===================== | ||
# Serve command options | ||
# ===================== | ||
# | ||
# See https://jekyllrb.com/docs/configuration/options/#serve-command-options | ||
|
||
port: 5757 | ||
host: "0.0.0.0" | ||
livereload: true | ||
|
||
# ============== | ||
# Liquid options | ||
# ============== | ||
# | ||
# See https://jekyllrb.com/docs/configuration/liquid/ | ||
|
||
liquid: | ||
error_mode: strict | ||
strict_filters: true | ||
|
||
# Note: I deliberately omit `strict_variables: true` here, because | ||
# sometimes I want to be able to skip variables in the front matter | ||
# (e.g. I don't want to set an empty `nav_section: ""` for every page | ||
# which doesn't belong to a section). | ||
|
||
# ================== | ||
# Template variables | ||
# ================== | ||
# | ||
# These variables aren't part of any third-party Jekyll plugin; they're | ||
# placeholders used in my templates. | ||
|
||
title: "alexwlchan" | ||
author: "Alex Chan" | ||
description: "Alex Chan's personal blog" | ||
|
||
email: "[email protected]" | ||
url: "https://alexwlchan.net" | ||
|
||
source: "src" | ||
destination: "_site" | ||
description: "Alex Chan's personal website" | ||
|
||
# ================ | ||
# Remaining config | ||
|
||
date_format: "%-d %B %Y" | ||
|
||
|
@@ -22,11 +82,6 @@ keep_files: [ | |
"favicons", "favicon.png", "favicon.ico", "headers", | ||
] | ||
|
||
# This is the file used by Netlify to define redirects and the custom | ||
# 404 page. If we don't include this, Jekyll skips it in the sitebuild. | ||
include: | ||
- "_redirects" | ||
|
||
markdown: "kramdown" | ||
|
||
kramdown: | ||
|
@@ -41,10 +96,6 @@ highlighter: "rouge" | |
plugins: | ||
- "jekyll-include-cache" | ||
|
||
liquid: | ||
error_mode: "strict" | ||
strict_filters: true | ||
|
||
sass: | ||
sass_dir: "_scss" | ||
style: "compressed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters