Skip to content

Commit e5e37c2

Browse files
committed
changelogs can now be linked without -fake at the end
added an empty span with `-fake` in the id so old links will still work
1 parent f3c6cff commit e5e37c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{% capture anchor %}{{ include.version | downcase | replace: " ", "-" | replace: ".", "-" }}-fake{% endcapture %}
2-
<h3 id="{{ anchor }}"><a href="#{{ anchor }}">{{ include.version }}</a></h3>
1+
{% capture anchor %}{{ include.version | downcase | replace: " ", "-" | replace: ".", "-" }}{% endcapture %}
2+
<h3 id="{{ anchor }}"><span id="{{ anchor }}-fake"></span><a href="#{{ anchor }}">{{ include.version }}</a></h3>
33

0 commit comments

Comments
 (0)