visits added to site page

This commit is contained in:
2020-01-07 17:41:30 -05:00
parent e69a1e03f8
commit 571a65986c
6 changed files with 30 additions and 12 deletions

View File

@@ -9,4 +9,16 @@ 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
each visit in visits
p #{visit.date}: #{visit.img} at the site: #{visit.site_id}
include footer.pug