show tags

This commit is contained in:
Tykayn 2021-03-01 21:27:00 +01:00 committed by tykayn
parent 81528c2321
commit e6de6a1393
2 changed files with 24 additions and 4 deletions

View File

@ -6,3 +6,16 @@ body {
a {
color: #00B7FF;
}
li:nth-of-type(odd){
background: #dedede;
}
.head span{
background: #00B7FF;
display: inline-block;
min-width : 10em;
}
.tags span{
padding: 1em;
display: inline-block;
min-width : 10em;
}

View File

@ -4,7 +4,14 @@ block content
h1= title
p Welcome to #{title}
section.tags
h2= "Tags"
ul
each t in json.tags.tagstore
li= t.$.name
h2= Tags
ul.tags
li.head
span.name nom
span.color couleur
span.parent parent
each t in json.tags.tagstore.tag
li
span.name= t['$'].name
span.color= t['$'].color
span.parent= t['$'].parent