tweaked index, inline site/state, changed colours
This commit is contained in:
@@ -9,16 +9,13 @@ block content
|
||||
h5= site.category
|
||||
.content
|
||||
p #{site.description}
|
||||
|
||||
//- - var states = visit.states.split(',')
|
||||
//- - for (var i = 0; i < states.length; i++)
|
||||
//- | #{states[i]}
|
||||
//- if (i + 1 < states.length)
|
||||
//- | ,
|
||||
|
||||
if visits
|
||||
h2= "Visits"
|
||||
each visit in visits
|
||||
p #{visit.date}: #{visit.img} at the site: #{visit.site_id}
|
||||
else
|
||||
h2= "This site has yet to be visited. Soon... "
|
||||
|
||||
|
||||
include footer.pug
|
||||
|
Reference in New Issue
Block a user