refactor: Use RelPermalink for internal links (#1231)

This commit is contained in:
Jimmy
2026-01-25 22:31:58 +01:00
committed by GitHub
parent c872a77edb
commit 633c8c6b9f
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
{{- $searchPage := index $query 0 -}}
{{- with $searchPage -}}
<form action="{{ $searchPage.RelPermalink }}" class="search-form widget" {{ with .OutputFormats.Get "json" -}}data-json="{{ .Permalink }}" {{- end }}>
<form action="{{ $searchPage.RelPermalink }}" class="search-form widget" {{ with .OutputFormats.Get "json" -}}data-json="{{ .RelPermalink }}" {{- end }}>
<p>
<label>{{ T "search.title" }}</label>
<input id="searchInput" name="keyword" required placeholder="{{ T `search.placeholder` }}" />