@@ -47,6 +47,15 @@ function Hallway (sites) {
4747 const diff = (now - then)
4848 const date = Math.floor(diff / 86400000)
4949
50+ // Find mention
51+ if (entry.body.indexOf('@<') > -1) {
52+ const data = entry.body.split('@<').pop().split('>')[0]
53+ const mention = data.split(' ')
54+ const name = mention[0]
55+ const path = mention[1]
56+ entry.body = entry.body.replace(`@<${data}>`, `<a href='${path}'>${name}</a>`)
57+ }
58+
5059 return `<li class='entry'><span class='date'>${ago(date)}</span> <span class='author'>${entry.author}</span> <span class='body'>${entry.body}</span></li>`
5160 }
5261