blob: 3e34caef6fbb4d968f72f0ec20ce827e3736911d (
plain) (
blame)
| 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
 | {% extends "base.html" %}
{% block nav_home %}active{% endblock %}
{% block header %}
<header>
  <div class="panel" id="title">
    <h1>{{ locale.text("name").unwrap() }}</h1>
  </div>
  {% if is_live %}
  <iframe class="panel" id="stream" src="https://weirdstar.stream/embed/video" title="girlstream"
    referrerpolicy="origin" scrolling="no" allowfullscreen>
  </iframe>
  {% endif %}
  {% if listenbrainz.is_scrobbling %}
  <a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">{{ locale.text("now-playing").unwrap()
    }}: {{
    listenbrainz.song.clone().unwrap_or_default() }} -
    {{ listenbrainz.artist.clone().unwrap_or_default() }}</a>
  {% endif %}
</header>
{% endblock header %}
{% block content %}
<div class="panel content">
  {{ locale.text("welcome").unwrap()|safe }}
</div>
{% endblock content %}
{% block aside %}
<aside>
  <div class="panel" style="background-color: #b52f6a; z-index: -1; font-family: 'Terminal Grotesque'; font-size: 2em">
    {{ locale.text("latest-update").unwrap() }}</div>
  {% include "latestposts.html" %}
  {% include "random-poem.html" %}
</aside>
{% endblock aside %}
 |