smithy

ref: d2e5bba41004ca2203c43db0f6668cac1de2e855

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" }}