You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// hexo.extend.filter.register('after_post_render', data => {
|
|
|
|
|
|
|
|
// data.content = data.content.replaceAll(/<img(.*?)src="(.*?)">/ig, `<a data-fancybox ><img data-fancybox $1>`)
|
|
|
|
// return data
|
|
|
|
// })
|