aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-11-07 12:18:25 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2023-11-07 12:25:27 +0000
commit64fecee3afba14a6dfe4e8d1d7614f3bf25ef0e0 (patch)
treeb33cf7cbc74cc8cf074d5aa2c122998f4da033a0 /bin
parentf645dba5b493ac7e6d73fc7f11363761b6e372e0 (diff)
downloadtorspec-64fecee3afba14a6dfe4e8d1d7614f3bf25ef0e0.tar.gz
torspec-64fecee3afba14a6dfe4e8d1d7614f3bf25ef0e0.zip
permalink redirects: Do not linkify headings
On the website, these links are redundant, since they point to the same place. Everywhere else they are broken links.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_redirects2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/make_redirects b/bin/make_redirects
index ea8ea3b..4cd4e05 100755
--- a/bin/make_redirects
+++ b/bin/make_redirects
@@ -43,7 +43,7 @@ def readme_redirects(rs):
for kwd, info in rs.items():
target = info['target']
desc = info['description']
- lines.append(f'<dt><a href="/{kwd}"><code>/{kwd}</code></a></dt>\n')
+ lines.append(f'<dt><code>/{kwd}</code></dt>\n')
lines.append(f'<dd><a href="{target}"><code>{target}</code> ({desc})</a></dt>\n')
lines.append("</dl>\n")