Skip to content

Instantly share code, notes, and snippets.

@pankajpatel
Last active January 16, 2018 11:09
Show Gist options
  • Save pankajpatel/d326eead6bfd10ee6419500a9a5371fd to your computer and use it in GitHub Desktop.
Save pankajpatel/d326eead6bfd10ee6419500a9a5371fd to your computer and use it in GitHub Desktop.
module.exports = (scope) => `<article>
<header>
<h1><a href="${scope.link}">${scope.title}</a></h1>
</header>
${require(`./tags.html.js`)(scope)}
<div>
${scope.body}
</div>
</article>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment