Files
godot-website/_config.yml
Emilio Coppola 2fa65521ee Complete website rewrite
This PR replaces the current CMS website with a static version of it built using Jekyll.

- Everything should be working 1 to 1 with the same permalinks except for the `/news` page (not articles) which was renamed as `/blog` (old links will redirect to new ones).
- The showcase entries on the home page now redirect to their showcase page in our site so that the user can choose which store front or page to visit next.
- I also changed the first link from the nav bar to go to the showcase page since the features one is still pretty outdated.

Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-09 19:14:36 +03:00

97 lines
3.0 KiB
YAML

# Settings
exclude: [".github", "Gemfile", "Gemfile.lock", "build.sh", "build-and-serve.sh", "README.md"]
permalink: pretty
collections_dir: collections
collections:
article:
output: true
showcase:
output: true
download:
output: true
defaults:
- scope:
path: ""
type: "article"
values:
layout: "article"
og_type: "article"
- scope:
path: ""
type: "download"
values:
layout: "download"
# Plugins
plugins:
- jekyll-paginate-v2
- jekyll-redirect-from
# - jekyll-multiple-languages-plugin
# Internationalization
languages: ["en", "es"]
exclude_from_localizations: ["assets", "storage"]
default_lang: "en"
# Godot download version
stable_version: "3.5.1"
stable_version_date: "28 September 2022"
# Pagination (used by the blog)
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: "article"
# How many objects per paginated page, used to be `paginate` (default: 0, means all)
per_page: 24
# The permalink structure for the paginated pages (this can be any level deep)
permalink: "/: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)
title: ":title - Page :num"
# 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"
############################################################