Skip to content

Commit

Permalink
Config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrla committed Apr 13, 2022
1 parent 173b977 commit 7d04e6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ colors:
# both used in `theme-color` meta tag
# make sure these two match the background colors in `_sass/base/_color.scss`
background_light: "#fafafa"
background_dark: "#222222"
background_dark: "#111111"

# used in safari's `mask-icon` meta tag
# remove this if you have set your own `mask-icon` in `_includes/head.html`
Expand Down Expand Up @@ -137,6 +137,7 @@ exclude:
- package*.json
- gulpfile.js
- .vscode/
- netlify.toml

################################# DEFAULTS (AUTOMATICALLY ADDED TO FRONT MATTER)
#
Expand Down
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,15 @@ const bundleAndMinifyJs = async () => {
}));


gulp.src('_posts/2022-02-01-searchable-sortable-filterable-elements/entries-table.js', { allowEmpty: true })
gulp.src('_posts/2022-02-01-searchable-sortable-filterable-elements/entries-table.js')
.pipe(debug())
.pipe(concat('entries-table.min.js'))
.pipe(uglify())
.pipe(gulp.dest(function(file) {
return path.dirname(file.path);
}));

gulp.src('_posts/2022-03-01-interactive-charts/mortality-charts.js', { allowEmpty: true })
gulp.src('_posts/2022-03-01-interactive-charts/mortality-charts.js')
.pipe(debug())
.pipe(concat('mortality-charts.min.js'))
.pipe(uglify())
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# https://github.com/netlify-labs/netlify-plugin-lighthouse/pull/45
# TODO: improve this? currently, it seems we need to add each route manually
#
# maybe by configuring the underlying lighthouse itself?
# maybe improve this by configuring the underlying lighthouse itself?
# https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md

[[plugins.inputs.audits]]
Expand Down

0 comments on commit 7d04e6a

Please sign in to comment.