-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathlayout.html
176 lines (160 loc) · 6.2 KB
/
layout.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{% extends "sphinxdoc/layout.html" %}
{%- from "relbar.html" import relbar_top with context %}
{% block htmltitle %}
{% if pagename == 'index' %}
{% set title = 'Type-safe, statically checked composition of HTTP servers' %}
{% endif %}
<title>{{ title|striptags|e }} — {{ shorttitle }} {{ version }}</title>
{% endblock %}
{% block extrahead %}
<meta charset='utf-8'>
<meta name="keywords" content="http web purescript middleware routing type-safe">
<meta name="description" content="Hyper is an experimental middleware architecture for HTTP servers written in PureScript.">
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="owickstrom">
<meta name="twitter:title" content="{{ title|striptags|e }} — {{ shorttitle }} {{ version }}">
<meta name="twitter:url" content="http://hyper.wickstrom.tech">
<meta name="twitter:description" content="Hyper is an experimental middleware architecture for HTTP servers written in PureScript.">
<meta name="twitter:image:src" content="http://hyper.wickstrom.tech/_static/icon-large.png">
<meta property="og:type" content="article" />
<meta property="og:article:author" content="Oskar Wickström" />
<meta property="og:article:section" content="Technology" />
<meta property="og:article:keyword" content="http web purescript middleware routing type-safe" />
<meta property="og:title" content="{{ title|striptags|e }} — {{ shorttitle }} {{ version }}" />
<meta property="og:description" content="Hyper is an experimental middleware architecture for HTTP servers written in PureScript.">
<meta property="og:type" content="article" />
<meta property="og:url" content="http://hyper.wickstrom.tech" />
<meta property="og:image" content="http://hyper.wickstrom.tech/_static/icon-large.png" />
<link rel="stylesheet" href="{{ pathto('_static/overrides.css', 1) }}">
<link rel="stylesheet" href="{{ pathto('_static/bootstrap/css/bootstrap.min.css', 1) }}">
<link href="https://fonts.googleapis.com/css?family=Fira+Mono|Fira+Sans:400,400i,600" rel="stylesheet">
{% endblock %}
{% block header %}
<div class="navbar navbar-inverse top-nav">
<div class="container-fluid">
<div class="navbar-text logo">
<a href="{{ pathto(master_doc) }}">
<img alt="{{ shorttitle|e }}"
height="24"
src="{{ pathto('_static/hyper-inverse.png', 1) }}"
srcset="{{ pathto('_static/hyper-inverse.png', 1) }} 1x,
{{ pathto('_static/hyper-inverse.png', 1) }} 2x" />
</a>
</div>
<div class="navbar-right">
<div class="search navbar-form">
{% include "searchbox.html" %}
</div>
</div>
</div>
</div>
{% endblock %}
{% block relbar1 %}
<div class="breadcrumbs">
<div class="breadcrumbs-wrapper">
{{ relbar_top() }}
</div>
</div>
{% endblock %}
{% block relbar2 %}
{% endblock %}
{%- block content %}
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
<div class="document">
{%- block document %}
<div class="documentwrapper">
{%- if render_sidebar %}
<div class="bodywrapper">
{%- endif %}
<div class="body" role="main">
{% block body %} {% endblock %}
</div>
<div class="bottom-nav">
{% if prev %}
<div class="previous-page">
<a href="{{ prev.link|e }}">{{ prev.title }}</a>
</div>
{% endif %}
{% if next %}
<div class="next-page">
<a href="{{ next.link|e }}">{{ next.title }}</a>
</div>
{% endif %}
</div>
{%- if render_sidebar %}
</div>
{%- endif %}
</div>
{%- endblock %}
{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
<div class="clearer"></div>
</div>
{%- endblock %}
{% block sidebarsearch %}
<h3>Download</h3>
<p>
<a href="/hyper.pdf">PDF</a>
</p>
<h3>More Resources</h3>
<ul>
<li>
<a href="{{ pathto('faq.html', 1) }}">Frequently Asked Questions</a>
</li>
<li>
<a href="https://github.com/owickstrom/hyper/tree/master/docs/src/{{ pagename }}.rst">Page Source Code</a>
</li>
<li>
<a href="https://github.com/owickstrom/hyper">Hyper at GitHub</a>
</li>
<li>
<a href="https://github.com/owickstrom/hyper/issues">Issue Tracker</a>
</li>
<li>
<a href="https://github.com/owickstrom/hyper/tree/master/CHANGELOG.md">Changelog</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/owickstrom/hyper/master/LICENSE">License</a>
</li>
<li>
<a href="https://twitter.com/owickstrom">Twitter</a>
</li>
<li>
<a href="https://wickstrom.tech">wickstrom.tech</a>
</li>
</ul>
{% endblock %}
{%- block footer %}
<footer class="footer" role="contentinfo">
<div class="footer-wrapper text-muted">
<span class="version">Hyper {{ version }} —</span>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}{% endtrans %} —
{%- else %}
{% trans copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} —
{%- endif %}
{%- endif %}
<span class="license">
Licensed under
<a href="https://raw.githubusercontent.com/owickstrom/hyper/master/LICENSE">MPL-2.0</a>
</span>
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
{%- endif %}
</div>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42197774-3', 'auto');
ga('send', 'pageview');
</script>
{%- endblock %}