_config.yml in jumbo-jekyll-theme-4.8.4 vs _config.yml in jumbo-jekyll-theme-4.9.0
- old
+ new
@@ -37,28 +37,41 @@
- .git
- .asset-cache
- _static-site
- .sass-cache
- _site
- - package.json
- - node_modules
- - gulpfile.js
+# 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"]
+# 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:
- permalink: '/:num/'
+ # 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
@@ -83,29 +96,105 @@
- scope:
path: ""
type: "authors"
values:
layout: author
+# Jekyll Assets setup
+assets:
+ # Compress JS Assets - uses the uglifier
+ compression: 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
plugins:
- jekyll-seo-tag
- jekyll-sitemap
+ - uglifier
+ - jekyll-assets
+ - jekyll-theme-assets-updated
+ - jekyll-tidy
- jekyll-redirect-from
+ - jekyll-responsive-image
+ - autoprefixer-rails
- jekyll-paginate-v2
- - jekyll-picture-tag-latest
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
-picture:
- nomarkdown: false
- source: "assets/images"
- output: "assets/images/processed"
+
+# 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}
\ No newline at end of file