UNPKG

liberty-flat

Version:

Liberty Flat theme for Livre's HTML5 engine.

22 lines (17 loc) 466 B
/* * index.js * Copyright 2017 Lucas Neves <lcneves@gmail.com> * * Liberty-flat theme for the Livre-HTML engine. * Uses pug templates to dynamically generate HTML strings for the engine. * Part of the Livre project. */ 'use strict'; const templates = require('./lib/templates.js'); function makeHeader(options) { var user = options && options.user ? options.user : null; return templates.header(user); } module.exports = { makeHeader: makeHeader };