areguera / centos / centos.org

Forked from centos/centos.org 4 years ago
Clone
Blob Blame History Raw
---
# 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 }}.

title: The CentOS Project
email: centos@centos.org
description: "Community-driven free software effort focused around the goal of providing a rich base platform for open source communities to build upon."

# The subpath of your site, e.g. /blog
baseurl: ""

# The base hostname & protocol for your site, e.g. http://example.com
url: "https://www.centos.org"

# site.theme - Set theme name. The theme versions are controlled using
# jekyll-theme-centos container images.  These images are versioned and provide
# all you need to build jekyll sites with jekyll-theme-centos.
theme: jekyll-theme-centos

plugins:
  - jekyll-feed
  - jekyll-toc

collections:
  sponsors:
  posts:
    permalink: /:categories/:title/

# ----------------------------------------------------------------------
# Jekyll Pagination
# ----------------------------------------------------------------------
pagination:
  # Site-wide kill switch, disabled here it doesn't run at all
  enabled: false

  # Set to 'true' to enable pagination debugging. This can be enabled in the
  # site config or only for individual pagination pages
  debug: true

  # 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: 6

  # The permalink structure for the paginated pages (this can be any level
  # deep)
  #permalink: '/page/:num.html' # Pages are simple html files
  #permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
  #permalink: '/news-and-events/:num/' # Pages are index.html inside this folder (default)
  permalink: '/:category/:num/' # Pages are index.html inside this folder (default)

  # 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'

# site.component_data_dirname - Set the directory name where the navbar data
# files is stored. For example, if the navbar file is at
# `_data/base/navbar.yml', the value you need to provide here is `base'. For
# consistency purposes, the value of this variable is overriden each time the
# pipeline runs using the value of ${CI_PROJECT_NAME##jekyll-theme-centos-}
# variable.
component_data_dirname: "centos"

# site.component_data_navbar - Set the name of the navbar data file. For
# example, if the navbar file is at `_data/base/navbar.yml', the value you need
# to provide here is `navbar', without the extension.
component_data_navbar: "navbar"

# site.defaults - Set global default values.
defaults:
  - scope:
      path: "" # an empty string here means all files in the project.
    values:
      layout: "base/default"
      categories: []
      # ----------------------------------------------------------------
      # Nav
      # ----------------------------------------------------------------
      with_logo: "centos-whitelogo.svg"
      with_manifestation: ""
      # ----------------------------------------------------------------
      # Header
      # ----------------------------------------------------------------
      with_breakingnews: []
      with_announcements: []
      with_motif: "centos-motif.png"
      with_title: true
      with_preamble: true
      # ----------------------------------------------------------------
      # Main
      # ----------------------------------------------------------------
      with_breadcrumbs: true
      with_toc: false
      with_artwork: false
      with_content: true
      with_locales: []
      # ----------------------------------------------------------------
      # Footer
      # ----------------------------------------------------------------
      with_footer: true
      with_shortcuts: true
      with_sponsors: false
      with_social: true
      with_finale: true
      with_copyright: true
      # ----------------------------------------------------------------
      # Script (also changes Head, to manage script-related stylesheets)
      # ----------------------------------------------------------------
      with_highlight: stackoverflow-light
      with_datatables: false

exclude:
  - _locales

permalink: /:path/:basename/