From 775772b5c4d0948a984607349fbc405380879f66 Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma
Date: Sun, 19 Nov 2023 02:15:30 +0530
Subject: added heading links
---
layouts/index.html | 2 +-
layouts/partials/release.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'layouts')
diff --git a/layouts/index.html b/layouts/index.html
index e0e8308..e815b92 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,3 +1,3 @@
{{ define "main" }}
- {{ .Content }}
+ {{ .Content | replaceRE "()" "${1} # ${3}" | safeHTML }}
{{ end }}
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 }}
-{{ .Content }}
+{{ .Content | replaceRE "()" "${1} # ${3}" | safeHTML }}
--
cgit v1.2.3