templates/index.html
{{ define "title" }}j3s.sh{{ end }} {{ define "body" }} <marquee><p><i>new! dynamically generated! smol! website! <3</p></i></marquee> <h4>seriously, email me</h4> <p>i love getting email. from anyone. it's my favorite way to talk. email me anything! seriously! j3s@c3f.net</p> <h4>this site is under heavy construction</h4> <img src="/static/under-construction.gif"> <h4>important quotes</h4> <p><i>the only way out is through</p></i> <p><i>fear is the mind-killer</p></i> <p><i>everything i do is stitched with her color</p></i> <h4>recent posts from my friends on the web</h4> {{ range $feed := .FriendFeeds }} <li><a href="{{ (index .Items 0).Link }}"> {{ if $feed.Title }} {{ $feed.Title }}: {{ else }} {{ $feed.Description }}: {{ end }} {{ (index .Items 0).Title }}</a></li> {{ end }} {{ end }}