This commit entirely refactors the use of html templates. Instead of inheriting from a shared template, we insert the results into a base template.
11 lines
262 B
HTML
11 lines
262 B
HTML
<div class="pure-u-1">
|
|
This page contains news items from the distillery.
|
|
</div>
|
|
|
|
{{range .Items}}
|
|
<div class="pure-u-1">
|
|
<h2 id="{{.ID}}">{{.Title}}</h3>
|
|
<b>{{ .Date.Format "2006-01-02" }}</b>
|
|
{{ .Content }}
|
|
</div>
|
|
{{ end }}
|