From 8d88170b034e9dd0c78269575578bf18b48b5696 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 07 2024 13:09:52 +0000 Subject: chore: 🤖 update site configuration for new theme --- diff --git a/_config.yml b/_config.yml index 5380b54..b8baa85 100644 --- a/_config.yml +++ b/_config.yml @@ -32,48 +32,26 @@ baseurl: "" # The base hostname & protocol for your site, e.g. http://example.com url: "https://www.centos.org" -# ---------------------------------------------------------------------- -# Build settings -# ---------------------------------------------------------------------- +# 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 - - jekyll-paginate-v2 - - jekyll-tidy - -permalink: /:path/:basename/ collections: sponsors: posts: permalink: /:categories/:title/ -exclude: - - .sass-cache/ - - .jekyll-cache/ - - gemfiles/ - - Gemfile - - Gemfile.lock - - .bundle - - node_modules/ - - vendor/bundle/ - - vendor/cache/ - - vendor/gems/ - - vendor/ruby/ - - .git - -sass: - sass_dir: _sass - style: compressed - # ---------------------------------------------------------------------- # Jekyll Pagination # ---------------------------------------------------------------------- pagination: # Site-wide kill switch, disabled here it doesn't run at all - enabled: true + enabled: false # Set to 'true' to enable pagination debugging. This can be enabled in the # site config or only for individual pagination pages @@ -137,24 +115,63 @@ pagination: # 'index.html') Without file extension. indexpage: 'index' -# ---------------------------------------------------------------------- -# Jekyll Tidy -# ---------------------------------------------------------------------- -jekyll_tidy: - exclude: [] - compress_html: false +# 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: true + 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 -# ---------------------------------------------------------------------- -# Jekyll Algolia -# ---------------------------------------------------------------------- -algolia: - application_id: "" - index_name: "www.centos.org" - search_only_api_key: "" +exclude: + - _locales -# ---------------------------------------------------------------------- -# Jekyll ToC -# ---------------------------------------------------------------------- -toc: - min_level: 2 # default: 1 - max_level: 5 # default: 6 +permalink: /:path/:basename/