fix(heading-link): fix svg path

This commit is contained in:
curben 2019-08-12 12:47:00 +09:30
parent 5451360029
commit 756a86b58a
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ hexo.extend.filter.register('after_render:html', (str) => {
const $ = cheerio.load(str)
const svg = `<svg height="0.8em" viewBox="15 15 1635 1635">
<desc>Link icon</desc>
<use href="/hexo-testing/svg/link.svg#link"/>
<use href="/svg/link.svg#link"/>
</svg>`
const headings = ['h2', 'h3']