Minor fix to anchor styling (#574)
Basically, this moves the pilcrow in the :after selector.
This is to prevent the pilcrow from appearing in the text of a heading
when you select it.
commitd680a3a867aa2ab41c72bbc7f7112cf2518705e4
authorYaseen <9275716+ynx0@users.noreply.github.com>
dateTue 13 Apr 2021, 11:37 (6 years ago)
parent4050ec3
sass/_main.scss+1
@@ -661,6 +661,7 @@ a.zola-anchor {
661661 background-color: black;
662662 color: white;
663663 }
664+ &:after {content: '¶'}
664665}
665666
666667h1, h2, h3, h4, h5, h6 {
templates/anchor-link.html+1−1
@@ -1,2 +1,2 @@
11<!-- original at https://github.com/getzola/zola/blob/29b073640e26d96ab167c88ca70b18660f176cb4/docs/sass/_docs.scss#L48 -->
2−<a class="zola-anchor" href="#{{ id }}" aria-label="Anchor link for: {{ id }}">¶</a>
2+<a class="zola-anchor" href="#{{ id }}" aria-label="Anchor link for: {{ id }}"></a>