parent
c6c6ea46dd
commit
bf30eec559
@ -1,4 +1,5 @@ |
||||
// hexo.extend.filter.register('after_post_render', data => {
|
||||
// data.content = data.content.replaceAll(/<img (.*?)>/ig, `<img data-fancybox $1>`)
|
||||
|
||||
// data.content = data.content.replaceAll(/<img(.*?)src="(.*?)">/ig, `<a data-fancybox ><img data-fancybox $1>`)
|
||||
// return data
|
||||
// })
|
Loading…
Reference in new issue