From 49ca2bd7368df9768a4febd0ebb69b5fe67f8d3b Mon Sep 17 00:00:00 2001
From: David Eisinger
Date: Tue, 4 Apr 2023 19:12:41 -0400
Subject: [PATCH] Strip footnote links from index summaries
---
themes/v2/layouts/index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html
index 6451d7d..3685e17 100644
--- a/themes/v2/layouts/index.html
+++ b/themes/v2/layouts/index.html
@@ -16,7 +16,8 @@
{{ .Date | time.Format "(2006-01-02)" }}
- {{ .Summary | plainify | safeHTML }}
+ {{ $sup := ".*?" }}
+ {{ replaceRE $sup "" .Summary | safeHTML }}
{{ end }}