Update _config.yaml

optimize config file
This commit is contained in:
Nico Jensen 2019-03-25 13:53:04 +01:00
parent 1020d9d15d
commit 5dbc858b09

View file

@ -6,29 +6,51 @@ description: > # this means to ignore newlines until "baseurl:"
A webseite about Nico Jensen's life, photografie and a lot of stupid stuff A webseite about Nico Jensen's life, photografie and a lot of stupid stuff
baseurl: "" baseurl: ""
url: "https://www.nicojensen.de" url: "https://www.nicojensen.de"
twitter_username: _nyansen
github_username: nyansen
# Build settings
markdown: kramdown markdown: kramdown
permalink: /:year/:month/:day/:title/
paginate: 10
paginate_path: "/blog/page/:num/"
collections: exclude:
authors: - vendor
output: true - source # Don't include the original photos directory
- node_modules # Apparently this is magic sauce to make Jekyll less super slow
- Gemfile
- Gemfile.lock
- gulpfile.js
- package.json
- '*~'
- '#*#'
- GPL.txt # No need for this to be in the site. LICENSE.md is, but not linked anywhere
keep_files:
- photo # Don't clobber the photo exports directory
- css # Don't clobber site CSS, this way I don't have to store compiled CSS
- js # Don't clobber site JS, which is built with Gulp and includes Photoswipe
- gfx # Don't clobber site graphics/images/assets
- favicon*
# Use the ingenuitive "compress.html" HTML minification template from
# https://github.com/penibelst/jekyll-compress-html
compress_html:
clippings: [div, ul, section]
comments: all
endings: []
ignore:
envs: [local]
blanklines: false
profile: false
startings: []
defaults: defaults:
- scope: - scope:
path: ""
type: "posts" type: "posts"
values: values:
layout: "default" layout: "default"
- scope:
path: "" paginate: 5
values: paginate_path: "/page/:num/"
layout: "default" permalink: /:year/:month/:day/:title/
plugins: plugins:
- jekyll-sitemap - jekyll-sitemap
- jekyll-seo-tag - jekyll-paginate
- jekyll-feed