take one on music feature
This commit is contained in:
@@ -22,5 +22,10 @@
|
||||
<button type="submit">Make post</button>
|
||||
<button type="clear">Clear form</button>
|
||||
</form>
|
||||
<form action="/admin/music" method="POST">
|
||||
<input required type="text" placeholder="url" name="url"/>
|
||||
<input required type="text" placeholder="name" name="name"/>
|
||||
<button type="submit">Add Band</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
11
templates/tunes.tmpl
Normal file
11
templates/tunes.tmpl
Normal file
@@ -0,0 +1,11 @@
|
||||
<!--music.tmpl-->
|
||||
{{ template "header.tmpl" . }}
|
||||
<p>
|
||||
This serves as a compilation of every band that I like. Genres may vary, however I mostly listen to Hardcore, various genres of Metal, and Ska.
|
||||
</p>
|
||||
<div class="music-container">
|
||||
{{ $val := range . }}
|
||||
<a href="{{ $val.Url }}" class="music">{{ $val.Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ template "footer_no_banners.tmpl" . }}
|
||||
Reference in New Issue
Block a user