Skip to content

Commit 055a688

Browse files
committed
Override cloud template to use our menu, structure, and styling.
1 parent e94dbf3 commit 055a688

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/_templates/layout.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{% extends "cloud/layout.html" %}
2+
3+
{% block scripts %}
4+
{% include "../../web/_includes/head.html" %}
5+
6+
{{ super() }}
7+
{% endblock %}
8+
9+
{% block header %}
10+
<v-app id="psij-app">
11+
{% include "../../web/_includes/menu.html" %}
12+
{{ super() }}
13+
{% endblock %}
14+
15+
{% block footer %}
16+
{{ super() }}
17+
18+
{% include "../../web/_includes/footer.html" %}
19+
</v-app>
20+
21+
{# this has to be done manually because jinja2 and jekyll use the same escapes #}
22+
<script>
23+
var crtpath = null;
24+
v = new Vue({
25+
el: '#psij-app',
26+
vuetify: new Vuetify(),
27+
data: {
28+
themes: ["theme-1", "theme-3"],
29+
maintabs: "docs"
30+
}
31+
});
32+
33+
hljs.highlightAll();
34+
</script>
35+
36+
{% endblock %}
37+
38+
39+
{% block sidebartoggle %}
40+
{% endblock %}

0 commit comments

Comments
 (0)