Files
com.xaymar.www/_config.yml
T

251 lines
7.1 KiB
YAML
Raw Normal View History

2021-12-24 11:00:43 +01:00
# Welcome to Jekyll!
#
# 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. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# 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.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# 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 }}.
# Plugins
plugins:
- jekyll-feed
- jekyll-paginate-v2
2022-01-13 10:54:29 +01:00
- jekyll-redirect-from
2021-12-24 11:00:43 +01:00
# Exclude files
exclude:
- _config.yml
- .git
- .gitignore
- .jekyll-cache/
- .sass-cache/
- .vscode
- build/
- Gemfile
- Gemfile.lock
- node_modules/
- workspace.code-workspace
2021-12-24 20:05:17 +01:00
# Include Files
include:
- assets/
2021-12-24 11:00:43 +01:00
# General Information
title: Xaymar
email: info@xaymar.com
tagline: 'Pushing 1 Pixel at a time'
description: >- # this means to ignore newlines
Just another software developer in an endless pool of humans.
author: Michael Fabian 'Xaymar' Dirks
# Web-hosting
baseurl: "" # the subpath of your site, e.g. /blog
url: 'https://www.xaymar.com' # the base hostname & protocol for your site, e.g. http://example.com
permalink: '/articles/:year/:month/:day/:slug/'
# Themeing
2022-01-11 04:26:31 +01:00
ignore_theme_config: true
2021-12-24 11:00:43 +01:00
#theme: null
2021-12-28 19:43:39 +01:00
collections:
posts:
output: false
2022-01-12 21:28:58 +01:00
label: "Articles"
2021-12-28 19:43:39 +01:00
guides:
output: true
permalink: '/guides/:path/'
label: "Guides"
sort_by: title
about:
output: true
2022-01-12 21:28:58 +01:00
permalink: '/about/:path/'
label: "About"
sort_by: title
2021-12-28 19:43:39 +01:00
2021-12-24 11:00:43 +01:00
defaults:
2022-01-12 21:28:58 +01:00
-
scope:
2021-12-24 11:00:43 +01:00
path: ""
values:
2022-01-12 21:28:58 +01:00
type: "post"
2021-12-28 17:53:06 +01:00
layout: "default"
2022-01-12 21:28:58 +01:00
author: "Michael Fabian 'Xaymar' Dirks <info@<xaymar.com>"
page_excerpt: true
comments: true
2022-01-12 21:28:58 +01:00
-
scope:
path: ""
type: "pages"
values:
2022-01-12 21:28:58 +01:00
type: "page"
2021-12-24 11:00:43 +01:00
# Custom Theme Config
xaymar:
data:
logo: '/assets/logo.svg'
css: '/assets/site.css'
js: '/assets/site.js'
rss: '/feed.xml'
2021-12-25 08:35:40 +01:00
info:
home: 'Home'
footer:
2021-12-26 09:52:22 +01:00
copyright: "© 2021 Michael Fabian 'Xaymar' Dirks"
2021-12-24 11:00:43 +01:00
index:
readmore: 'Read More'
excerpt:
enabled: true
length: 100
opengraph:
excerpt:
enabled: true
length: 100
links:
2022-01-12 07:21:58 +01:00
collection:
permalink: '/:coll'
slugify: 'default'
2021-12-24 11:00:43 +01:00
category:
permalink: '/category/:cat'
slugify: 'default'
tag:
permalink: '/tag/:tag'
slugify: 'default'
meta:
enabled: true
permalink:
enabled: true
tags:
enabled: true
2021-12-25 09:08:01 +01:00
timestamp:
enabled: true
2021-12-24 11:00:43 +01:00
comments:
enabled: true
provider: "disqus"
disqus:
identifier: 'xaymars-blog'
2021-12-28 17:53:06 +01:00
url: 'https://www.xaymar.com:pageurl'
2021-12-24 11:00:43 +01:00
2022-01-11 04:26:31 +01:00
############################################################
# Jekyll-feed
feed:
posts_limit: 100
excerpt_only: true
categories:
- "Blog"
- "News"
- "Reviews"
tags:
path: "/feed/tag/"
2021-12-24 11:00:43 +01:00
############################################################
# Site configuration for the Jekyll 3 Pagination Gem
# The values here represent the defaults if nothing is set
pagination:
# Site-wide kill switch, disabled here it doesn't run at all
enabled: true
# Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages
debug: false
# The default document collection to paginate if nothing is specified ('posts' is default)
collection: 'posts'
# How many objects per paginated page, used to be `paginate` (default: 0, means all)
per_page: 10
# The permalink structure for the paginated pages (this can be any level deep)
permalink: '/page/:num/' # Pages are index.html inside this folder (default)
#permalink: '/page/:num.html' # Pages are simple html files
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
# Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages)
2021-12-28 19:43:39 +01:00
title: ':title [:num/:max]'
2021-12-24 11:00:43 +01:00
# Limit how many pagenated pages to create (default: 0, means all)
limit: 0
# Optional, defines the field that the posts should be sorted on (omit to default to 'date')
sort_field: 'date'
# Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true)
sort_reverse: true
# Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts)
category: 'posts'
# Optional, the default tag to use, omit to disable
tag: ''
# Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts,
# in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code )
locale: ''
# Optional,omit or set both before and after to zero to disable.
# Controls how the pagination trail for the paginated pages look like.
trail:
before: 2
after: 2
# Optional, the default file extension for generated pages (e.g html, json, xml).
# Internally this is set to html by default
extension: html
# Optional, the default name of the index file for generated pages (e.g. 'index.html')
# Without file extension
indexpage: 'index'
autopages:
# Site-wide kill switch, disable here and it doesn't run at all
enabled: true
# Category pages, omit entire config element to disable
categories:
# Optional, the list of layouts that should be processed for every category found in the site
layouts:
- 'index.liquid'
# Optional, the title that each category paginate page should get (:cat is replaced by the Category name)
title: ':cat'
# Optional, the permalink for the pagination page (:cat is replaced),
# the pagination permalink path is then appended to this permalink structure
permalink: '/category/:cat'
# Optional, when true logging related to category pages will be supressed.
silent: false
slugify:
mode: 'default' # :cat is slugified. Modes: default, raw, pretty, ascii, latin
2021-12-26 09:52:22 +01:00
case: false # Whether to replace all uppercase letters with their lowercase counterparts
2021-12-24 11:00:43 +01:00
# Collection pages, omit to disable
collections:
layouts:
- 'index.liquid'
title: ':coll' # :coll is replaced by the collection name
2021-12-28 19:43:39 +01:00
permalink: '/:coll'
2021-12-24 11:00:43 +01:00
silent: false
slugify:
mode: 'default' # :coll is slugified.
case: false
# Tag pages, omit to disable
tags:
layouts:
2022-01-11 04:26:31 +01:00
- 'index_tags.liquid'
2021-12-26 09:52:22 +01:00
title: 'Tag: :tag' # :tag is replaced by the tag name
2021-12-24 11:00:43 +01:00
permalink: '/tag/:tag'
silent: false
slugify:
mode: 'default' # :tag is slugified.
case: false