Skip to content

Instantly share code, notes, and snippets.

@will3942
Created December 4, 2013 19:47
Show Gist options
  • Save will3942/7794287 to your computer and use it in GitHub Desktop.
Save will3942/7794287 to your computer and use it in GitHub Desktop.
Go: Final Homepage Template
<html>
<body>
<h1>Will's Blog!</h1>
{{range .}}
<a href="/{{.File}}"><h2>{{.Title}} ({{.Date}})</h2></a>
<p>{{.Summary}}</p>
{{end}}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment