Skip to content

Commit fc80097

Browse files
committed
x
1 parent e772f7a commit fc80097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const marked = require('marked');
55

66
function media(dir){
77
const files = fs.readdirSync(dir);
8-
return files.filter(file => path.extname(file).toLowerCase() === '.gif').map(file => path.join(dir, file));
8+
return files.filter(file => path.extname(file).toLowerCase() === '.gif' || path.extname(file).toLowerCase() === '.png' ).map(file => path.join(dir, file));
99
}
1010

1111
function* findReadmes(dir) {

0 commit comments

Comments
 (0)