// Page template tasks // ------------------- var config = require('./config.js'); function page_style() { return ` .title { font-family: 'Bowlby One SC', cursive; font-size: xx-large; text-align: center; margin-top: 200px; } .heading { font-family: 'Special Elite', cursive; font-size: large; text-align: center; margin-top: 20px; margin-bottom: 20px; } .content { font-family: sans-serif; font-size: medium; text-align: center; margin-top: 20px; margin-bottom: 20px; } .yes { color: green; } .no { color: red; }`; } function page_head(title) { return ` ${config.app_name}: ${title}

${config.app_name}

Home | Tiny Photos

`; } function page_tail() { return ` `; } // Exported functions module.exports = { head: page_head, tail: page_tail } // vim: ai ts=4 sts=4 et sw=4 ft=javascript