update gallery url
This commit is contained in:
parent
ba6e785f5f
commit
89a99c0aa7
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
|||
pages: [{{range $i, $p := .Pages}}{{if $i}},{{end}}'{{$p}}'{{end}}],
|
||||
urls: [],
|
||||
prefetched: new Set(),
|
||||
imageExts: ['.png', '.jpg', '.jpeg', '.gif', '.webp', '.bmp', '.avif'],
|
||||
imageExts: ['.png', '.jpg', '.jpeg', '.webp', '.bmp', '.avif'],
|
||||
isImage(path) {
|
||||
const ext = path.substring(path.lastIndexOf('.')).toLowerCase();
|
||||
return this.imageExts.includes(ext);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue