diff --git a/content/about.md b/content/about.md index 83c3f5a..2df09d9 100644 --- a/content/about.md +++ b/content/about.md @@ -87,7 +87,7 @@ The background grid for both themes were made by me in [paint.NET](https://getpa Much of the pixel art is snagged from [various](https://lostsozai.tumblr.com/) [oldweb](https://cutewebgraphics.tumblr.com/) [uploaders](https://pixel-soup.tumblr.com/) on [tumblr](https://www.tumblr.com/dashboard/hubs?filtered_tags=decome). Counter is from [fc2](https://counter.fc2.com/). -The last.fm now playing svg on my [now](/now) page is by [mono](https://dev.to/monochromish/expose-your-currently-listening-song-on-your-profile-with-lastfm-profile-readme-21oa). Current mood is powered by [imood](https://www.imood.com/), and status at the top of the [now](/now) page is powered by [status.cafe](https://status.cafe). +The last.fm now playing script on my [now](/now) page is by [@biancarosa/lastfm-last-played](https://github.com/biancarosa/lastfm-last-played). Current mood is powered by [imood](https://www.imood.com/), and status at the top of the [now](/now) page is powered by [status.cafe](https://status.cafe). The fonts used on this website are [Hezaedrus](https://fontlibrary.org/en/font/hezaedrus) by [Hubert & Fischer](https://hfs-studio.com/); [Hylie](https://befonts.com/hylie-font.html) and [Obliviate](https://befonts.com/obliviate-font.html) by [createshaa](https://createshaa.carrd.co/); and [Firstly](https://befonts.com/firstly-display-font.html) by [stormyseas](https://befonts.com/author/stormyseas). diff --git a/content/now.md b/content/now.md index 2fde6dd..dc0ea0a 100644 --- a/content/now.md +++ b/content/now.md @@ -3,19 +3,28 @@ title = "what i'm up to lately" +++
-this is a [now](https://nownownow.com/about) page. you can make your own, if you like!
+this is a [now](https://nownownow.com/about) page. you can make your own, if you like! + +**this page last updated: 2024.09.13** +
currently
1. 😊 **feeling**: The current mood of rainbowpink at www.imood.com 2. 📚 **reading**: [Spice & Wolf](https://en.wikipedia.org/wiki/Spice_and_Wolf) by Hasekura Isuna -3. 📺 **watching**: [R U Next?](https://en.wikipedia.org/wiki/R_U_Next%3F) +3. 📺 **watching**: 4. 👾 **playing**: [Fields of Mistria](https://www.fieldsofmistria.com/) +5. 🎧 **listening**:
-
this page last updated: 2024.09.13
+
+
+

+ latest played song on last.fm powered by @biancarosa/lastfm-last-played

+
--- diff --git a/static/css/style.css b/static/css/style.css index 77193ee..fab58a2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -140,7 +140,7 @@ pre { padding: 1rem; margin: 0 2vw; overflow-x: auto; - font-style: monospace; + font-family: monospace; font-size: 16px; white-space: pre-wrap; word-break: break-word; @@ -239,7 +239,6 @@ pre { display: inline-flex; vertical-align: center; margin: 0.3em; - justify-items: space-evenly; } .kaomoji:hover { diff --git a/static/js/script.js b/static/js/script.js index 205d215..fbf42d2 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -18,4 +18,14 @@ const getTheme = () => { } } -getTheme(); \ No newline at end of file +getTheme(); + +let user = 'ameiro'; +let url = 'https://lastfm-last-played.biancarosa.com.br/' + user + '/latest-song'; +let song = document.querySelector('#song'); +fetch(url) + .then(function (response) { + return response.json() + }).then(function (json) { + song.innerHTML = json['track']['name'] + ' - ' + json['track']['artist']['#text']; + }); \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 81f3cd7..38d7b4f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,6 +15,7 @@ {% block content %} {% endblock content %} + {% block js %} diff --git a/templates/head.html b/templates/head.html index f37cf44..6d3e169 100644 --- a/templates/head.html +++ b/templates/head.html @@ -88,6 +88,6 @@ {% endblock feed %} {% endif %} {% block css %} - - + + {% endblock css %} \ No newline at end of file diff --git a/templates/shortcodes/gallery.html b/templates/shortcodes/gallery.html index e967477..d80d02f 100644 --- a/templates/shortcodes/gallery.html +++ b/templates/shortcodes/gallery.html @@ -3,7 +3,7 @@ {%- if asset is matching("[.](jpg|png)$") -%} {% set image = resize_image(path=asset, width=350, height=350) %} - + {%- endif %} {%- endfor %} diff --git a/templates/sidebar.html b/templates/sidebar.html index 280d6d5..f558775 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -1,5 +1,5 @@ - mana's pfp + mana's pfp {% set current_lang = config.default_language %} {% if page %} @@ -46,6 +46,6 @@ {% endif %}
- +
\ No newline at end of file