fix(content-blog): make footnote reference DOM ID unique on post listing page (#7212)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
AkiraVoid 2022-04-21 22:51:24 +08:00 committed by GitHub
parent 3b32a41f22
commit 71ba449a28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 197 additions and 1 deletions

View file

@ -0,0 +1,13 @@
---
title: Third post with footnote to test posts with same footnote reference.
---
foo[^1]
bar[^2]
baz[^3]
[^1]: foo
[^2]: bar
[^3]: baz

View file

@ -0,0 +1,13 @@
---
title: Second post with footnote to test posts with same footnote reference.
---
foo[^1]
bar[^2]
baz[^3]
[^1]: foo
[^2]: bar
[^3]: baz

View file

@ -0,0 +1,13 @@
---
title: First post with footnote to test posts with same footnote reference.
---
foo[^1]
bar[^2]
baz[^3]
[^1]: foo
[^2]: bar
[^3]: baz