From 085538ec47cb5baa29c4214d97c6926b285ab507 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Sun, 17 Feb 2019 21:15:36 -0700 Subject: added basic site with basic map --- web/views/map.pug | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web/views/map.pug (limited to 'web/views/map.pug') diff --git a/web/views/map.pug b/web/views/map.pug new file mode 100644 index 0000000..b7781fa --- /dev/null +++ b/web/views/map.pug @@ -0,0 +1,11 @@ +extends layout.pug +block content + #sidebar + h1 This is a sidebar + #map + + script(type='text/javascript'). + var map = L.map('map').setView([#{lat},#{lng}], 15); + script(src='/javascripts/map.js') + + -- cgit v1.2.3