allow custom content in lists pages

Amolith created

Change summary

themes/secluded/layouts/_default/list.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Detailed changes

themes/secluded/layouts/_default/list.html 🔗

@@ -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" }}