tweaked some visuals in site

This commit is contained in:
2020-01-11 11:59:33 -05:00
parent e655b222e8
commit 4c28ef12b5
4 changed files with 32 additions and 17 deletions

View File

@@ -6,13 +6,15 @@ block content
h2= "Sites: " + sites.length
each site in sites
h3 #[a(href="/sites/" + site.slug) #{site.site}]
//- Commmand list of all the states
h5
- var states = site.states.split(',')
- for (var i = 0; i < states.length; i++)
| #{states[i]}
if (i + 1 < states.length)
| ,
div(class="listing")
h3(class="site") #[a(class="remaining" href="/sites/" + site.slug) #{site.site}]
//- Commmand list of all the states
h5(class="state")
- var states = site.states.split(',')
- for (var i = 0; i < states.length; i++)
| #{states[i]}
if (i + 1 < states.length)
| ,
include footer.pug