/
main.html
58 lines (48 loc) · 1.4 KB
/
main.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
{% extends "base.html" %}
{% raw %}
<!-- {% block announce %} -->
<!-- <p>Hello world</p> -->
<!-- {% endblock %} -->
{% endraw %}
{% block fonts %}
<style>
@import url("https://www.fresh2.dev/css/fonts.css");
:root {
--md-text-font: iAWriterQuattroS, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
--md-code-font: iAWriterMonoS, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
}
/* hide jupyter notebooks input/output numbers */
.jp-InputPrompt {
display: none !important;
}
.jp-OutputPrompt {
display: none !important;
}
/* hide jupyter notebooks tags */
.jupyter-wrapper .celltoolbar {
display: none !important;
}
</style>
{% endblock %}
{% block analytics %}
<script>
window.goatcounter = {
path: function(p) {
if (window.location.host.toLowerCase().endsWith(".fresh2.dev"))
return p
window.goatcounter = {no_onload: true}
return null
}
}
</script>
<script data-goatcounter="https://stats.fresh2.dev/count"
async src="//stats.fresh2.dev/count.js"></script>
{% endblock %}
{% block content %}
{% if page.nb_url %}
<a href="{{ page.nb_url }}" title="Download Notebook" class="md-content__button md-icon">
{% include ".icons/material/download.svg" %}
</a>
{% endif %}
{{ super() }}
{% endblock content %}