glaciers-in-archives/snowman

View on GitHub
cmd/scaffold/templates/index.html

Summary

Maintainability
Test Coverage
{{ 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 }}