Skip to content
Browse files

Add visualization skeleton

  • Loading branch information...
1 parent 4a8ada9 commit 84ed3b9b8b70d13a07c3957e29a852258ccf90dc @jnordberg jnordberg committed
Showing with 8,484 additions and 0 deletions.
  1. +9 −0 dotmap/config.json
  2. +3 −0 dotmap/contents/index.json
  3. +8,442 −0 dotmap/contents/scripts/vendor/d3.js
  4. +4 −0 dotmap/templates/index.jade
  5. +26 −0 dotmap/templates/layout.jade
View
9 dotmap/config.json
@@ -0,0 +1,9 @@
+{
+ "locals": {
+ "url": "http://localhost:8080",
+ "name": "The Wintersmith's blog",
+ "owner": "The Wintersmith",
+ "description": "-32°C ain't no problems!",
+ "index_articles": 3
+ }
+}
View
3 dotmap/contents/index.json
@@ -0,0 +1,3 @@
+{
+ "template": "index.jade"
+}
View
8,442 dotmap/contents/scripts/vendor/d3.js
8,442 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
4 dotmap/templates/index.jade
@@ -0,0 +1,4 @@
+extends layout
+
+block content
+ h1 hello world
View
26 dotmap/templates/layout.jade
@@ -0,0 +1,26 @@
+!!! 5
+html(lang='en')
+ head
+ block head
+ meta(charset='utf-8')
+ title
+ block title
+ = locals.name
+ link(rel='alternate', href=locals.url+'/feed.xml', type='application/rss+xml', title=locals.description)
+ link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Fredericka+the+Great')
+ link(rel='stylesheet', href='/css/github.css')
+ link(rel='stylesheet', href='/css/main.css')
+ body
+ header
+ div.inner
+ block header
+ h1
+ a(href=locals.url)= locals.name
+ p= locals.description
+ div#content
+ block content
+ h2 Welcome to zombocom!
+ footer
+ div.inner
+ block footer
+ p © #{ new Date().getFullYear() } #{ locals.owner }

0 comments on commit 84ed3b9

Please sign in to comment.
Something went wrong with that request. Please try again.