all repos — flounder @ 0369b3b9d007500f8354cb920a66d30fc49c8e94

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}} <a href="//{{.Feed.Creator}}.{{$domain}}">{{.Feed.Creator}}</a> 
12{{ if .Feed.Title }}<em><a href="{{.Feed.Url}}">{{.Feed.Title}}</a></em>{{end}} <a href="{{.Url}}">{{.Title}}</a>
13</p>
14{{end}}
15<h2>All Feeds:</h2>
16{{ range .Feeds}}
17<a href="{{.Url}}">{{.Url}}</a>
18{{ end}}
19{{template "footer" .}}