forked from ramda/ramda.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.pug
67 lines (54 loc) · 1.36 KB
/
layout.pug
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
doctype html
html(class=html_class)
- base_link = ('home' == page ? '.' : '..')
head
meta(charset="UTF-8")
meta(
content="width=device-width, initial-scale=1"
name="viewport"
)
title Ramda Documentation
- href = base_link + "/style.css"
link(
href=href
rel="stylesheet"
type="text/css"
)
block styles
block scripts
body
input#open-nav(type="checkbox")
header.navbar.navbar-fixed-top.navbar-inverse.container-fluid
.container-fluid
.navbar-header
label.open-nav(for="open-nav")
a.navbar-brand(href="#")
strong Ramda
span.version v#{version}
ul.nav.navbar-nav.navbar-left
- active = ('home' == page) ? 'active' : ''
- href = base_link + "/"
li(class=active): a(href=href) Home
- active = ('docs' == page) ? 'active' : ''
- href = base_link + "/docs/"
li(class=active): a(href=href) Documentation
- active = ('repl' == page) ? 'active' : ''
- href = base_link + "/repl/"
li(class=active): a(href=href) Try Ramda
ul.nav.navbar-nav.navbar-right
li: a(href="https://github.com/ramda/ramda") GitHub
li: a(href="https://gitter.im/ramda/ramda") Discuss
block main
script.
window.gitter = {
chat: {
options: {
room: 'ramda/ramda'
}
}
}
script(
async
defer
src="https://sidecar.gitter.im/dist/sidecar.v1.js"
)