content tweaks. add dg to portfolio
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
446573d1bc
commit
f6f5e7e599
8 changed files with 28 additions and 8 deletions
|
@ -10,7 +10,7 @@ const conf = {
|
|||
const dir = path.dirname(data.page.inputPath);
|
||||
|
||||
const files = fs.readdirSync(dir)
|
||||
.filter(file => ['.png', '.jpg', '.jpeg', '.JPG'].includes(path.extname(file)))
|
||||
.filter(file => ['.png', '.jpg', '.jpeg', '.JPG', '.webp'].includes(path.extname(file)))
|
||||
.sort();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue