allow custom content in lists pages

This commit is contained in:
Amolith 2023-01-20 19:13:19 -05:00
parent fcda00b823
commit df4786ef52
Signed by: Amolith
GPG Key ID: 8AE30347CE28D101
1 changed files with 4 additions and 2 deletions

View File

@ -1,11 +1,13 @@
{{ define "main" }}
<div class="list">
<h1>{{ .Title }}</h1>
<div class="content">
{{ .Content | safeHTML }}
</div>
<p>There are RSS feeds for <em>all</em> of the categories and tags on the site. If you want to subscribe to one of them, navigate to that list and <a href="index.xml">click here</a>; you'll be taken to the specific feed.</p>
<form action="https://duckduckgo.com/" method="get">
<input name="sites" type="hidden" value="secluded.site">
<input aria-label="Search this blog." name="q" type="text"
placeholder="&#128270; Search this site with DuckDuckGo" >
<input aria-label="Search this blog." name="q" type="text" placeholder="&#128270; Search this site with DuckDuckGo" >
</form>
{{ $title := .Title }}
{{ if eq $title "Posts" }}