feat(data): tags
This commit is contained in:
parent
e59feeba35
commit
64c8ae31ff
4 changed files with 31 additions and 2 deletions
|
@ -9,7 +9,10 @@
|
|||
<p>{{ .Person.Pronouns }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="description">{{ .Description }}</p>
|
||||
<p class="description">
|
||||
{{ .Description }}
|
||||
<a href="/tags">More information...</a>
|
||||
</p>
|
||||
<div class="links">
|
||||
{{ range $link := .Links }}
|
||||
<div class="link" style="{{ .GetBackground }}">
|
||||
|
|
13
templates/page/tags.gohtml
Normal file
13
templates/page/tags.gohtml
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{define "body"}}
|
||||
<main style="{{ .GetBackground }}">
|
||||
<h2>Tags</h2>
|
||||
<div class="tags">
|
||||
{{ range $tag := .Person.Tags }}
|
||||
<div class="tag">
|
||||
<h4>{{ .Name }}</h4>
|
||||
<p>{{ .Description }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue