_config.yml in jumbo-jekyll-theme-5.6.9.4 vs _config.yml in jumbo-jekyll-theme-5.7.0
- old
+ new
@@ -1,213 +1,146 @@
-# Default Title of Site
-title: jumbo-jekyll-theme (the advanced enterprise ready Jekyll theme)
-# Description of the site used for default meta description
-url: http://jumbojekyll.co.uk
-baseurl: ""
-description: |-
- The jumbo-jekyll-theme is an advanced enterprise ready Jekyll theme used across the Linaro static websites.
-# Destination of the Jekyll site upon build of site.
-destination: _site
-# Netflify CMS - Default repo branch
-branch: master
-# Default permalink for blog posts
-permalink: /blog/:title/
-# Jumbo Jekyll Theme
-theme: jumbo-jekyll-theme
-# Main Website Repo
-github_repo: https://github.com/linaro-marketing/jumbo-jekyll-theme
-# Syntax highlighter
-highlighter: rouge
-# Blog images/thumbs dir
-blog_images_dir: assets/images/content/
-# Markdown flavour used by Jekyll to parse markdown.
-markdown: kramdown
-kramdown:
- input: GFM
- syntax_highlighter: rouge # Syntax highlighter for Kramdown.
-# Email
-email: contact@linaro.org
-# Company Address
-address:
- - Harston Mill
- - Royston Rd, Harston
- - Cambridge, United Kingdom
- - CB22 7GG
-# Default character encoding
-encoding: utf-8
-# Jekyll configuration for running the site in "Safe" mode.
-safe: false
-# Files Jekyll will ignore when building the static site.
-exclude:
- - Gemfile
- - Gemfile.lock
- - .gitignore
- - .git
- - .asset-cache
- - _static-site
- - .sass-cache
- - _site
- - jumbo-jekyll-theme*.gem
- - jumbo-jekyll-theme*.gemspec
-# Sass Configuration for the site styles
-sass:
- style: compressed
- load_paths:
- - assets/css
-# Compress HTML using the jekyll-tidy plugin.
-jekyll_tidy:
- # Toggle compression of HTML
- compress_html: true
- # JS Path added to exclude to stop errors.
- exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
-# Permalink style to be used for paginating pages in pagination.html
-paginate_path: /blog/:num/
-paginate_path_news: /news/:num/
-paginate_path_authors: /authors/:num/
-# Jekyll Pagination V2 Configuration
-pagination:
- # Default pagination path for Jekyll Posts
- # For other permalinks set in the front matter of the post index page
- permalink: /:num/
- # Enabled or not?
- enabled: true
- # Home many posts to display by default
- per_page: 9
- # Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
- trail:
- before: 2
- after: 2
- # Reverse the order of paginated pages
- sort_reverse: true
- # Field to sort posts by when paginating
- sort_field: "date"
-# Jekyll pagination v2 autopages configuration.
-autopages:
- enabled: false
-# Jekyll_get plugin configuration. This will not be needed in all jekyll sites
-# only those that are displaying news from the news db or listing Linaro members.
-# jekyll_get:
-# data: members
-# json: 'https://github.com/Linaro/db'
-# Jekyll defaults - used to set default front matter values to collections and posts
-defaults:
- # Set a default Social Media Image
- - scope:
- path: ""
- values:
- image: /assets/images/social-media-image.png
- - scope:
- type: posts
- path: "_posts"
- values:
- layout: post
- is_post: true
- comments: true
- - scope:
- path: ""
- type: "authors"
- values:
- layout: author
-# Jekyll Assets setup
-assets:
- # Compress JS Assets - uses the uglifier
- compression: true
- compress:
- js: true
- gzip: true
- # Autoprefixer default settings
- autoprefixer:
- browsers: ["last 2 versions", "> 5%", "IE 9"]
- # These are the paths to look for assets
- sources:
- - assets/js/
- - assets/images/
- - assets/css/
-# Jekyll relative links plugin settings
-jekyll_relative_links:
- process_all_collections: true
- verbose: 1
-relative_links:
- enabled: true
- collections: false
-plugins:
- - jekyll-seo-tag
- - uglifier
- - jekyll-assets
- - jekyll-theme-assets-updated
- - jekyll-tidy
- - jekyll-redirect-from
- - jekyll-responsive-image
- - autoprefixer-rails
- - jekyll-paginate-v2
-collections:
- authors:
- output: true
- permalink: /author/:name/
-# Make sure that Liquid errors stop the build
-liquid:
- error_mode: strict
-readme_index:
- enabled: true
- remove_originals: false
-# Jeykyll Responsive Image Configuration
-responsive_image:
- cache: false
- # [Required]
- # Path to the image template.
- template: _includes/images/responsive-image.html
-
- # [Optional, Default: 85]
- # Quality to use when resizing images.
- default_quality: 90
-
- # [Optional, Default: []]
- # An array of resize configuration objects. Each object must contain at least
- # a `width` value.
- sizes:
- - width: 400 # [Required] How wide the resized image will be.
- quality: 70 # [Optional] Overrides default_quality for this size.
- - width: 800
- quality: 70
-
- # [Optional, Default: false]
- # Rotate resized images depending on their EXIF rotation attribute. Useful for
- # working with JPGs directly from digital cameras and smartphones
- auto_rotate: false
-
- # [Optional, Default: false]
- # Strip EXIF and other JPEG profiles. Helps to minimize JPEG size and win friends
- # at Google PageSpeed.
- strip: false
-
- # [Optional, Default: assets]
- # The base directory where assets are stored. This is used to determine the
- # `dirname` value in `output_path_format` below.
- base_path: assets
-
- # [Optional, Default: assets/resized/%{filename}-%{width}x%{height}.%{extension}]
- # The template used when generating filenames for resized images. Must be a
- # relative path.
- #
- # Parameters available are:
- # %{dirname} Directory of the file relative to `base_path` (assets/sub/dir/some-file.jpg => sub/dir)
- # %{basename} Basename of the file (assets/some-file.jpg => some-file.jpg)
- # %{filename} Basename without the extension (assets/some-file.jpg => some-file)
- # %{extension} Extension of the file (assets/some-file.jpg => jpg)
- # %{width} Width of the resized image
- # %{height} Height of the resized image
- #
- output_path_format: assets/resized/%{width}/%{basename}
-
- # [Optional, Default: true]
- # Whether or not to save the generated assets into the source folder.
- save_to_source: false
-
- # [Optional, Default: []]
- # By default, only images referenced by the responsive_image and responsive_image_block
- # tags are resized. Here you can set a list of paths or path globs to resize other
- # images. This is useful for resizing images which will be referenced from stylesheets.
- extra_images:
- - assets/foo/bar.png
- - assets/bgs/*.png
- - assets/avatars/*.{jpeg,jpg}
-include: ["_pages"]
+title: jumbo-jekyll-theme (the advanced enterprise ready Jekyll theme)
+url: http://jumbojekyll.co.uk
+baseurl: ""
+description: |-
+ The jumbo-jekyll-theme is an advanced enterprise ready Jekyll theme used across the Linaro static websites.
+destination: _site
+permalink: /blog/:title/
+theme: jumbo-jekyll-theme
+highlighter: rouge
+markdown: kramdown
+kramdown:
+ input: GFM
+ syntax_highlighter: rouge
+encoding: utf-8
+safe: false
+exclude:
+ - Gemfile
+ - Gemfile.lock
+ - .asset_pipeline
+ - .gitignore
+ - .git
+ - .asset-cache
+ - _static-site
+ - .sass-cache
+ - _site
+ - jumbo-jekyll-theme*.gem
+ - jumbo-jekyll-theme*.gemspec
+sass:
+ style: compressed
+ load_paths:
+ - assets/css
+plugins:
+ - jekyll-seo-tag
+ - japr
+ - jekyll_picture_tag
+ - jekyll-tidy
+ - jekyll-paginate-v2
+collections:
+ authors:
+ output: true
+ permalink: /author/:name/
+liquid:
+ error_mode: strict
+defaults:
+ - scope:
+ path: ""
+ values:
+ layout: flow
+ - scope:
+ type: posts
+ path: "_posts"
+ values:
+ layout: post
+ is_post: true
+ comments: true
+ - scope:
+ path: ""
+ type: "authors"
+ values:
+ layout: author
+include: ["_pages"]
+# ----------- THEME / WEBSITE CONFIG ---------------------
+# Permalink style used for paginating pages
+paginate_path: /blog/:num/
+paginate_path_news: /news/:num/
+paginate_path_authors: /authors/:num/
+# Blog images/thumbs dir
+blog_images_dir: assets/images/content/
+# Email
+email: contact@linaro.org
+# Company Address
+address:
+ - Harston Mill
+ - Royston Rd, Harston
+ - Cambridge, United Kingdom
+ - CB22 7GG
+# Support for http2 preload features
+http2_resources:
+ - rel: preload
+ as: font
+ type: font/woff2
+ href: /assets/fonts/lato/Lato-regular.woff2
+google_analytics:
+ enabled: true
+ code: UAXXXXXX
+# Set the site-wide default social media share image.
+social_media_share_image: /assets/images/social-media-image.png
+# Set the default favicon
+favicon: /assets/images/favicon.png
+# Site Name - your brand name
+name: Jumbo Jekyll Theme
+# The blog filler element
+blog_filler_element: blog/blog_filler_element.html
+# Placeholder avatar
+avatar_placeholder: /assets/images/avatar-placeholder.jpg
+# Blog Post Image Placholder
+post_placeholder: /assets/images/test/background-image1.jpg
+# ----------- JEKYLL PLUGINS ---------------------
+# -------- jekyll-tidy --------
+jekyll_tidy:
+ # Toggle compression of HTML
+ compress_html: true
+ # JS Path added to exclude to stop errors.
+ exclude: ["assets/**/*.js", "robots.txt", "admin/config.yml"]
+# -------- jekyll-paginate-v2 --------
+pagination:
+ # Default pagination path for Jekyll Posts
+ # For other permalinks set in the front matter of the post index page
+ permalink: /:num/
+ # Enabled or not?
+ enabled: true
+ # Home many posts to display by default
+ per_page: 9
+ # Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
+ trail:
+ before: 2
+ after: 2
+ # Reverse the order of paginated pages
+ sort_reverse: true
+ # Field to sort posts by when paginating
+ sort_field: "date"
+autopages:
+ enabled: false
+# -------- jekyll_relative_links --------
+jekyll_relative_links:
+ process_all_collections: true
+ verbose: 1
+relative_links:
+ enabled: true
+ collections: false
+# -------- jekyll_relative_links --------
+readme_index:
+ enabled: true
+ remove_originals: false
+# -------- jekyll_picture_tag --------
+picture:
+ nomarkdown: false
+ source: "assets/images"
+ output: "assets/images"
+ relative_url: true
+# -------- japr --------
+asset_pipeline:
+ bundle: true
+ compress: true
+ output_path: assets/js
+ gzip: false