aboutsummaryrefslogtreecommitdiff
path: root/overrides/main.html
blob: ea94a18b373a3030b5dddee82698786c838aae41 (plain)
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
{% extends "base.html" %}

{% block extrahead %}
  <script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.min.js"></script>
  <script src="https://unpkg.com/tippy.js@6/dist/tippy-bundle.umd.js"></script>
  <link rel="stylesheet" href="https://unpkg.com/tippy.js@6/animations/scale-subtle.css"/>
  <link rel="stylesheet" href="https://unpkg.com/tippy.js@6/themes/translucent.css"/>
{% endblock %}

{% block content %}
{{ super() }}
<div id="waline" style="margin-top: 80px; padding-top: 12px;"></div>
{% endblock %}

{% block styles %}
{{ super() }}
<link rel="stylesheet" href="https://unpkg.com/@waline/client@latest/dist/waline.css" />
<style>
  .md-grid {
    max-width: 1200px;
  }
</style>
{% endblock %}

{% block scripts %}
{{ super() }}
<script type="module">
  import { init } from 'https://unpkg.com/@waline/client@latest/dist/waline.js';
  init({
    el: '#waline',
    serverURL: "https://lcapi.091209.xyz",
  })
</script>
{% endblock %}