Add gathering title

This commit is contained in:
Jacob Karlsson
2018-07-07 12:41:38 +02:00
parent d09eab73ae
commit 3c608e0159
4 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -537,8 +537,11 @@ function renderGathering(opts, id, c) {
desc.innerHTML = marked(c.about.description, opts.marked)
const image = h('p', h('img', { src: opts.img_base + c.about.image }))
const attending = h('h3.attending', c.numberAttending + ' attending')
const title = h('h2', c.about.title)
console.log('c', c)
return h('section',
[image,
[title,
image,
attending,
desc]
)