smithy

ref: v0.2.0

include/index.html


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

<p>{{ .Site.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" }}