show tags
This commit is contained in:
parent
81528c2321
commit
e6de6a1393
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user