UNPKG

grunt-aglio

Version:

Grunt plugin to generate aglio documentation

43 lines (35 loc) 1.42 kB
//- copied from https://github.com/danielgtaylor/aglio/blob/olio-theme-1.0.4/templates/index.jade doctype // CUSTOM_JADE_TEMPLATE include mixins.jade html head meta(charset="utf-8") title= self.api.name || 'API Documentation' link(rel="stylesheet", href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css") style!= self.css body.preload a.text-muted.back-to-top(href='#top') i.fa.fa-toggle-up |  Back to top div(class=self.fullWidth ? 'container-fluid' : 'container') .row block nav +Nav(false) .content block content +Content('primary', false) p.text-muted(style="text-align: center;") | Generated by  a.aglio(href="https://github.com/danielgtaylor/aglio") aglio |  on #{self.date().format('DD MMM YYYY')} //- commented out for testing purposes // script: include scripts.js if self.livePreview script(src="/socket.io/socket.io.js") script. var socket = io(); socket.on('refresh', refresh); socket.on('reconnect', function () { socket.emit('request-refresh'); });