cmd/scaffold/templates/index.html
{{ template "base" . }}
{{ define "title" }}Welcome to Snowman!{{ end }}
{{ define "content" }}
<h1>Welcome to Snowman โ๏ธ</h1>
<p>You just generated your first webpage with Snowman. Your endpoint is set to <code>{{ config.Client.Endpoint }}</code>, you can change it in <code>snowman.yaml</code>.</p>
<h2>Getting started ๐ง</h2>
<ul>
<li>๐ <a target="_blank" href="https://github.com/glaciers-in-archives/snowman#built-in-template-functions">Snowman template function reference</a></li>
<li>๐ฉ <a target="_blank" href="https://learn.hashicorp.com/tutorials/nomad/go-template-syntax">Learn Go template syntax</a></li>
<li>๐งบ <a target="_blank" href="https://github.com/glaciers-in-archives/snowman/tree/main/examples">Snowman examples</a></li>
</ul>
<h2>Here are some triples ๐พ</h2>
<table>
<tr>
<th>?s</th>
<th>?p</th>
<th>?o</th>
</tr>
{{ range . }}
<tr>
<td>{{ .s }}</td>
<td>{{ .p }}</td>
<td>{{ .o }}</td>
</tr>
{{ end }}
</table>
{{ end }}