Tidy some html and add mailto links to the mailing list

main
Jack Punter 2024-04-19 02:01:09 +01:00
parent 7cf01694b6
commit 8eb98733a5
1 changed files with 6 additions and 4 deletions

View File

@ -33,7 +33,7 @@
<button hx-get="/mailing_list" hx-target="#mailing_list"> Refresh Mailing List</button>
</div>
</div>
<ul style="columns: 2;" id="mailing_list" hx-trigger="load" hx-get="/mailing_list"></ul>
<div class="card" hx-trigger="load" hx-get="/mailing_list" id="mailing_list"></div>
</div>
</div>
</body>
@ -42,7 +42,9 @@
{{ end }}
{{ block "mailing_list" . }}
{{ range .Emails }}
<li> {{.}} </li>
{{end}}
<ul style="columns: 2;">
{{ range .Emails }}
<li><a href="mailto:{{ . }}"> {{ . }} </a></li>
{{end}}
</ul>
{{end}}