const html = require('choo/html') module.exports = view function view (state, emit) { song = state.songs.find(song => song.title == state.params.song.replace(/-/g,' ')) console.log({song}) return html`

${song.title}

${song.post}

x close x
` }