Restructure templates to use includes
This commit is contained in:
parent
8e4a37b558
commit
18454021c3
8 changed files with 19 additions and 14 deletions
|
@ -1,3 +1,5 @@
|
|||
{{template "header.html"}}
|
||||
|
||||
<h1>{{.Title}}</h1>
|
||||
<p>{{.Description}}</p>
|
||||
<img src="{{.Cover}}" alt="{{.Title}}" />
|
||||
|
@ -10,3 +12,5 @@
|
|||
</ul>
|
||||
|
||||
<p><a href="/{{.Path}}">download</a></p>
|
||||
|
||||
{{template "footer.html"}}
|
||||
|
|
Reference in a new issue