mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
6042b0bdaf
Should support a sitelinks searchbox now.
12 lines
473 B
HTML
12 lines
473 B
HTML
{{ define "main" -}}
|
|
{{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
|
|
<main >
|
|
<h1>Search</h1>
|
|
<p role="note">This page is an unfinished work-in-progress.</p>
|
|
{{ partial "search.html" . }}
|
|
<hr />
|
|
<div itemprop="mainEntity" itemscope="" itemtype="https://schema.org/SearchResultsPage" itemid="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}">
|
|
{{ readFile "/dynamic/search-results.html" | safeHTML }}
|
|
</div>
|
|
</main>
|
|
{{ end }}
|