smithy

ref: 5cbf0993ba04a8db85c6e38da4a68baefd2afc62

include/index.html


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ template "header" }}

<h3>{{ .Title }}</h3>

<p>{{ .Description }}</p>

<h3>Projects</h3>

{{range .Repos}}
    <div class="row">
        <div class="col-12">
            {{ if .Meta.Slug }}
                <h4><a href="/{{ .Meta.Slug }}">{{ .Name }}</a></h4>
                <p>{{ .Meta.Description }}</p>
            {{ else }}
                <h4><a href="/{{ .Name }}">{{ .Name }}</a></h4>
            {{ end }}
            <hr>
        </div>
    </div>
{{ end }}

{{ template "footer" }}