all repos — flounder @ 976db1036ed6aa057228c685bcd74a15a38180b6

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}}" class='person-link'>{{.Feed.Title}}</a></em>{{end}} <a href="{{.Url}}">{{.Title}}</a>
13</p>
14{{end}}
15{{template "footer" .}}