allow custom content in lists pages
This commit is contained in:
parent
fcda00b823
commit
df4786ef52
|
@ -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="🔎 Search this site with DuckDuckGo" >
|
||||
<input aria-label="Search this blog." name="q" type="text" placeholder="🔎 Search this site with DuckDuckGo" >
|
||||
</form>
|
||||
{{ $title := .Title }}
|
||||
{{ if eq $title "Posts" }}
|
||||
|
|
Loading…
Reference in New Issue