const { basename } = require('path')
const { pad } = require('./helpers')
const credits = '
This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License.
Originally from xkcd.com.
'
const comicPage = ({ alt, title, transcript, num, img }) => {
const btnClass = 'dib navy mh2 pa2 bg-light-blue hover-bg-lightest-blue br2 ba bw1 b--navy no-underline'
return `
${num} - ${title}
${title} #${num}
${transcript}
${credits}
`
}
const homePage = (list) => `
XKCD
XKCD
${credits}
`
module.exports = {
comicPage,
homePage
}