_config.yml in jumbo-jekyll-theme-4.7.8 vs _config.yml in jumbo-jekyll-theme-4.8
- old
+ new
@@ -37,15 +37,13 @@
- .git
- .asset-cache
- _static-site
- .sass-cache
- _site
-# Sass Configuration for the site styles
-sass:
- style: compressed
- load_paths:
- - assets/css
+ - package.json
+ - node_modules
+ - gulpfile.js
# Compress HTML using the jekyll-tidy plugin.
jekyll_tidy:
# Toggle compression of HTML
compress_html: true
# JS Path added to exclude to stop errors.
@@ -96,105 +94,28 @@
- 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
-
-# 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}
+picture:
+ source: "assets/images"
+ output: "assets/images/processed"
\ No newline at end of file