-
Notifications
You must be signed in to change notification settings - Fork 481
/
index.jade
38 lines (32 loc) · 1.18 KB
/
index.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
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')}
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');
});