git ssb

3+

ev / sdash



Commit 8a8a304a5d43fccccf5dc7f4b9e8e09646c50643

add name to title

Ev Bogue committed on 9/30/2016, 12:45:27 AM
Parent: 93111b0067bd271cf647b5e5e459f1f75ee6fc54

Files changed

index.jschanged
index.jsView
@@ -30,14 +30,8 @@
3030 pull.drain(function (data) {
3131 loc = data.value.content.location
3232 })
3333 )
34- pull(
35- sbot.query.read({query: [{$filter: { value: { author: me, content: {type: 'website'}}}}], limit: 1, reverse: true}),
36- pull.drain(function (data) {
37- website = data.value.content.website
38- })
39- )
4034 })
4135
4236 http.createServer(function (req, res){
4337 if (req.url === '/') {
@@ -81,31 +75,14 @@
8175 })
8276 )
8377 })
8478 )
85- pull(
86- sbot.query.read({query: [{$filter: { value: { content: {mentions: [{link: me}]}}}}], limit: 1, reverse: true}),
87- pull.drain(function (data) {
88- avatar(sbot, me, data.value.author, function (err, avatar){
89- if (err) throw err
90- mentionauthor = avatar
91- })
92- mention = data
93- })
94- )
95- pull(
96- sbot.query.read({query: [{$filter: { value: { author: me, content: {type: 'git-update'}}}}], limit: 1, reverse: true}),
97- pull.drain(function (data) {
98- gits = data
99- })
100- )
101-
10279 })
10380 function gotPost() {
10481 res.end(
10582 h('html',
10683 h('head',
107- h('title', title),
84 + h('title', name + '\'s ' + title),
10885 h('style', fs.readFileSync('style.css', 'utf8'))
10986 ),
11087 h('body',
11188 h('div.ad',

Built with git-ssb-web