Rework to use golang 1.16 embed package instead of go-bindata. Rework templates to be less insane

This commit is contained in:
2021-10-04 13:03:26 +10:30
parent 3a65a60fcb
commit 87acf0aefb
11 changed files with 66 additions and 35 deletions

12
web/data/index.html Normal file
View File

@@ -0,0 +1,12 @@
{{ define "content" }}
<main role="main" class="inner DAU">
<h1 class="DAU-heading">Discord Auto Upload</h1>
<p class="lead">Hey look, it's DAU :-)</p>
<p class="lead">
<a href="https://github.com/tardisx/discord-auto-upload" class="btn btn-lg btn-secondary" target="_blank">Learn more</a>
</p>
</main>
{{ end }}
{{ define "js" }}
{{ end }}