From 7ba5c364ad1bff52994a9cadae7d105ad720629e Mon Sep 17 00:00:00 2001 From: Sean Clarke Date: Mon, 6 Jan 2020 16:17:29 -0500 Subject: [PATCH] added info to index, changed footer url --- views/footer.pug | 4 +++- views/index.pug | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/views/footer.pug b/views/footer.pug index d1906cd..9660448 100644 --- a/views/footer.pug +++ b/views/footer.pug @@ -1,5 +1,7 @@ - url = "http://seanland.ca" -p Made with #[a(href=url) ©️ Sean Clarke] Copyright: #[a(href=url) ©️ Sean Clarke] +- git = "https://git.snld.xyz/Seanland/unesco-tracker" + +p Made with #[a(href=git) unesco-tracker] | Copyright: #[a(href=url) ©️ Sean Clarke] p Buy me a coffeeBuy me a coffee diff --git a/views/index.pug b/views/index.pug index ee5e0b2..ea0573b 100644 --- a/views/index.pug +++ b/views/index.pug @@ -4,7 +4,16 @@ block content h1= title p Welcome to #{title} + h2= sites.length + each site in sites h3= 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) + | , include footer.pug