blob: cb5ad5d64ccee76a25bfe1d40fe1ec4236e918c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{define "content"}}
<h2>{{.Title}}</h2>
<p class="description">{{.Description}}</p>
<h3 class="sr-only">Links</h3>
<ul class="links">
{{range .Links}}
<li class="{{.Class}}"><a href="{{.Href}}">{{.Title}}</a></li>
{{end}}
</ul>
<h3 class="sr-only">Tags</h3>
<ul class="tags">{{range .Tags}}<li class=""><a href="/tags/{{.}}" rel="tag">{{.}}</a></li>{{end}}</ul>
{{if .GoGet}}
<p class="goget">
This project is <code>go get</code>-able: <code>go get code.laria.me/{{.Name}}</code>
</p>
{{end}}
{{if .License}}<p class="license">License: {{.License}}</p>{{end}}
{{if .FormattedReadme}}
<h3>Readme</h3>
<section id="readme">{{.FormattedReadme}}</section>
{{end}}
{{end}}
|