diff --git a/scripts/image.js b/scripts/image.js index 1b97378..eb82a89 100644 --- a/scripts/image.js +++ b/scripts/image.js @@ -18,7 +18,7 @@ hexo.extend.filter.register('marked:renderer', (renderer) => { if (href.endsWith('.svg')) return `${alt}` // embed external image - if (!href.startsWith('20') && !href.startsWith('/20')) return `${alt}` + if (href.startsWith('http')) return `${alt}` const fLink = (path, width) => { const query = new URLSearchParams('f=auto')