main: move Jekyll stuff to plugins/jekyll

If the user doesn't load the Jekyll plugin, then don't load any Jeykll stuff.
This commit is contained in:
John D Pell
2021-10-10 00:07:48 -07:00
parent 1c3a7ffdb3
commit c0aad51afd
2 changed files with 5 additions and 7 deletions

View File

@@ -315,3 +315,8 @@ function deploysite() {
builtin cd "${SITE}" || return
rsync -rz "${REMOTE?}"
}
# Load the Jekyll config
if [[ -s "$HOME/.jekyllconfig" ]]; then
source "$HOME/.jekyllconfig"
fi