all repos — flounder @ 464b29be73c7271a4fc587401060345adcdcebb1

A small site builder for the Gemini protocol

templates/feed.html (view raw)

 1{{$domain := .Host}}
 2{{template "header" .}}
 3<h1>🐟{{.PageTitle}} -- Feeds</h1>
 4{{template "nav.html" .}}
 5<br>
 6<p>
 7For more information on how to format your site to show up here, see <a href="https://admin.flounder.online/gemfeed.gmi">this documentation</a>
 8<h2>Feed:</h2>
 9{{ range .FeedEntries}}
10<p>
11{{.DateString}} <b><a href="{{.Url}}">{{.Title}}</a></b> {{ if .Feed.Title }}<em><a href="{{.Feed.Url}}">{{.Feed.Title}}</a></em>{{end}}
12</p>
13{{end}}
14<h2>All Feeds:</h2>
15{{ range .Feeds}}
16<p>
17<a href="{{.Url}}">{{.Url}}</a>
18</p>
19{{ end}}
20{{template "footer" .}}