Skip to content

Commit

Permalink
Use @metalsmith/layouts in favour of metalsmith-layouts
Browse files Browse the repository at this point in the history
The core plugin replaces the old one.

v2.5.1
- pass the transformed list of files to metalsmith.match…
- Merge pull request #184 from doteco/master
- pass the transformed list of files to metalsmith.match so that renamed files can be matched

v2.5.0

- use metalsmith.match instead of multimatch
- Remove semicolons, run formatting. Remove devDependencies
- feat: add JSdocs, named plugin function
- Dependencies: updates debug to 4.3.4
- Drop Node < 12 support

2.4.0

- Return when done
- Improve readme
- Align dotfiles, repo with core plugin setup @metalsmith
- deps: update dependencies and fix prefer-object-spread
  • Loading branch information
domoscargin committed Jul 21, 2022
1 parent 5ca3092 commit 8c950cf
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 55 deletions.
2 changes: 1 addition & 1 deletion lib/metalsmith.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const titleChecker = require('./metalsmith-title-checker.js')
const env = require('metalsmith-env') // environment vars plugin
const hashAssets = require('metalsmith-fingerprint-ignore') // add hash to specified files and ignores files that match a pattern
const inplace = require('@metalsmith/in-place') // render templating syntax in your source files
const layouts = require('metalsmith-layouts') // apply layouts to source files
const layouts = require('@metalsmith/layouts') // apply layouts to source files
const tagcleaner = require('metalsmith-tagcleaner') // Use tag cleaner to remove <p> tags around images
const permalinks = require('metalsmith-permalinks') // apply a permalink pattern to files
const canonical = require('metalsmith-canonical') // add a canonical url property to pages
Expand Down
130 changes: 77 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
"@metalsmith/in-place": "^4.5.0",
"@metalsmith/layouts": "^2.5.1",
"@metalsmith/sass": "^1.0.0",
"accessible-autocomplete": "^2.0.2",
"axe-puppeteer": "^1.0.0",
Expand All @@ -66,7 +67,6 @@
"metalsmith-canonical": "^1.2.0",
"metalsmith-env": "^2.2.0",
"metalsmith-fingerprint-ignore": "^2.0.0",
"metalsmith-layouts": "^2.3.1",
"metalsmith-permalinks": "^2.2.0",
"metalsmith-rollup": "^2.0.0",
"metalsmith-tagcleaner": "0.0.2",
Expand Down

0 comments on commit 8c950cf

Please sign in to comment.