summaryrefslogtreecommitdiff
path: root/layouts/partials/release.html
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-19 02:15:30 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-19 02:15:30 +0530
commit775772b5c4d0948a984607349fbc405380879f66 (patch)
treee70f0020c8dae738b720f50a44d6a96c4d6971a5 /layouts/partials/release.html
parentce76814d1516ee731658fe81b792a59e57286a1f (diff)
added heading links
Diffstat (limited to 'layouts/partials/release.html')
-rw-r--r--layouts/partials/release.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/release.html b/layouts/partials/release.html
index 1c5972a..7bd1c1a 100644
--- a/layouts/partials/release.html
+++ b/layouts/partials/release.html
@@ -13,4 +13,4 @@
Version number: {{ .Params.version_number }}
</p>
</div>
-{{ .Content }}
+{{ .Content | replaceRE "(<h[1-6] id=\"([^\"]+)\".+)(</h[1-6]+>)" "${1}&nbsp;<a class=\"headline-hash\" href=\"#${2}\">#</a> ${3}" | safeHTML }}