doctype 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 #nav-background div.container-fluid.triple .row block nav +Nav(false) .content #right-panel-background block content +ContentTriple(false) .middle p.text-muted(style="text-align: center;") 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'); });