mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
feat: use CSS pseudo-element to display #
symbol of heading anchor
This prevents RSS feed readers and screen readers from seeing an extra `#`.
This commit is contained in:
parent
bdf2a710d3
commit
7b71e34ac3
@ -232,6 +232,10 @@
|
||||
width: var(--card-padding);
|
||||
text-align: center;
|
||||
color: var(--accent-color);
|
||||
|
||||
&:before {
|
||||
content: "#";
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
|
Loading…
Reference in New Issue
Block a user