all repos — flounder @ 18a042de0538b53ca8cf949b0b575d1d597bf92a

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<p>
18<a href="{{.Url}}">{{.Url}}</a>
19</p>
20{{ end}}
21{{template "footer" .}}