Polish the list template
This commit is contained in:
parent
551dcf5905
commit
e4f7ff6218
2 changed files with 9 additions and 7 deletions
|
|
@ -1,10 +1,12 @@
|
|||
{{define "title"}}All Notes{{end}}
|
||||
{{define "main"}}
|
||||
<ul>
|
||||
<div class="list-group list-group-flush">
|
||||
{{range $title := .titles}}
|
||||
<li>
|
||||
<a href="{{$title}}/">{{$title}}</a>
|
||||
</li>
|
||||
<a class="list-group-item list-group-item-action d-flex justify-content-between"
|
||||
href="{{$title}}/">
|
||||
<span>{{$title}}</span>
|
||||
<img src="/static/icons/pencil-square.svg" alt="Edit">
|
||||
</a>
|
||||
{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue