diff options
author | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-01-30 16:16:05 +0000 |
commit | f00159f53b3774601500ec65345791311ff6efa1 (patch) | |
tree | cc65a487e71a056126e1935108a494c7851863f9 /templates/home.html | |
parent | 8c03d9a53f4bc2f70fb5c1e0487bc74fe0137fcb (diff) | |
download | blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.gz blossom-f00159f53b3774601500ec65345791311ff6efa1.tar.bz2 blossom-f00159f53b3774601500ec65345791311ff6efa1.zip |
migrate to poem and askama
Diffstat (limited to '')
-rw-r--r-- | templates/home.html (renamed from templates/home.html.tera) | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/templates/home.html.tera b/templates/home.html index 5017ea3..7cd8c0f 100644 --- a/templates/home.html.tera +++ b/templates/home.html @@ -1,4 +1,4 @@ -{% extends "base" %} +{% extends "base.html" %} {% block nav_home %}active{% endblock %} @@ -6,27 +6,23 @@ <header> <div class="panel" id="title"> - <h1>cel 🌸</h1> + <h1>celeste 🌸</h1> </div> {% if is_live %} - <iframe - class="panel" - id="stream" - src="https://weirdstar.stream/embed/video" - title="girlstream" - referrerpolicy="origin" - scrolling="no" - allowfullscreen> + <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">now playing: {{ listenbrainz.song }} - {{ listenbrainz.artist }}</a> + <a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">now playing: {{ + listenbrainz.song.clone().unwrap_or_default() }} - + {{ listenbrainz.artist.clone().unwrap_or_default() }}</a> {% endif %} </header> - + {% endblock header %} {% block content %} @@ -36,9 +32,9 @@ <p>this is where i do the posting</p> <p>i wish u a wonderful day</p> <br> - <img src="/quinntyping.png"> + <img src="/static/quinntyping.png"> <p>perpetually under construction</p> - <img style="border: 0;" src="/barraconstruction.gif"> + <img style="border: 0;" src="/static/barraconstruction.gif"> </div> {% endblock content %} @@ -47,12 +43,10 @@ <aside> - <div class="panel" style="background-color: #b52f6a; z-index: -1; font-family: 'Terminal Grotesque'; font-size: 2em">latest update: the skweets begone</div> - {% include "latestposts" %} + <div class="panel" style="background-color: #b52f6a; z-index: -1; font-family: 'Terminal Grotesque'; font-size: 2em"> + latest update: the skweets begone</div> + {% include "latestposts.html" %} </aside> -{% endblock aside %} - - - +{% endblock aside %}
\ No newline at end of file |