git ssb

3+

ev / sdash



Commit e33c97439f10b79c669ae219531c5b0b5c60ca3d

add site elements

Ev Bogue committed on 8/21/2016, 2:39:07 AM
Parent: 17b07347cac60d6c6ad5588e2408644c177b2c9c

Files changed

index.jadechanged
index.jschanged
index.jadeView
@@ -2,10 +2,15 @@
22 html
33 head
44 title= title
55 meta(charset='utf8')
6- // link(rel='stylesheet' href='http://evbogue.com/reserva/reserva.css')
7- // link(rel='stylesheet' href='http://evbogue.com/style.css')
6+ link(rel='stylesheet' href='/reserva/reserva.css')
7+ link(rel='stylesheet' href='/style.css')
88 body
9- img(src='http://localhost:8989/blobs/get/#{image}' class='profile' style='float: left; margin-right: .5ex; width: 75px;')
10- p(style='float: right;')<span style='float: right; font-size: .8em;'>#{date} on <a href='http://evbogue.com/patchbayinstall' target='_parent'>Patchbay</a>
11- p <a href='http://evbogue.com/ev' target='_parent'>@#{name}</a> #{message}
9+ .contain
10+ .eight.col.off-two
11+ a(href='/'): h1= title
12+ hr
13+ img(src='/ws/blobs/get/#{image}' class='profile' style='float: left; margin-right: .5ex; width: 75px;')
14+ p <a href='http://evbogue.com/' target='_parent'>@#{name}</a> #{message} <br /><span style='font-size: .8em;'>#{date} on Sbot</span>
15+ hr
16+ p(style='font-size: .8em') <a href='mailto:ev@evbogue.com'>ev@evbogue.com</a> | <a href='/minimalist'>The Art of Being Minimalist</a> | <a href='/node'>Minimal Node</a> | <a href='https://gitmx.com/%408Qee0I%2FDwI5DHSCi3p5fsl6FyLGArrnDz3ox9qZr5Qc%3D.ed25519'>GitMX</a> | Mexico City
index.jsView
@@ -3,14 +3,20 @@
33 var avatar = require('ssb-avatar');
44 var moment = require('moment');
55 var app = require('koa')();
66 var router = require('koa-router')();
7+var serve = require('koa-static')
78 var views = require('co-views');
89
910 var me = '@8Qee0I/DwI5DHSCi3p5fsl6FyLGArrnDz3ox9qZr5Qc=.ed25519';
1011
1112 app.use(router.routes())
13+app.use(serve(__dirname + './../books/build'))
14+app.use(serve(__dirname + './../site/build'))
15+app.use(serve(__dirname + './../site/static'))
16+app.use(serve(__dirname + './../boot/'))
1217
18+
1319 var render = views(__dirname, { ext: 'jade'});
1420
1521 router.get('/', function *(next) {
1622 client(function (err, sbot) {
@@ -49,8 +55,9 @@
4955 gotMessage();
5056 }));
5157 });
5258 function gotMessage() {}
53- this.body = yield render('index', {title: 'sdash', message, date, name, image});
59+ this.body = yield render('index', {title: 'Evbogue.com', message, date, name, image});
5460 });
55-app.listen(4000);
5661
62+app.listen('7000')
63+

Built with git-ssb-web