const { basename } = require('path') const { pad, escapeHtml } = require('./helpers') const credits = '

This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License.
Originally from xkcd.com.

' const classes = { body: 'bg-washed-blue navy sans-serif ml-auto mr-auto w-90', title: 'tc mh0 mt4 mb3 f2 small-caps tracked', btn: 'dib navy mh2 pa2 bg-light-blue hover-bg-lightest-blue br2 ba bw1 b--navy no-underline' } const comicPage = ({ alt, title, transcript, num, img }, latest) => ` ${num} - ${title}

${title} #${num}

${escapeHtml(transcript)}

${credits} ` const homePage = (list) => ` XKCD

XKCD

${credits} ` module.exports = { comicPage, homePage }