9 lines
No EOL
394 B
Text
9 lines
No EOL
394 B
Text
<script type="module" src="/assets/scripts/components/api-text.js?v={% appVersion %}" crossorigin="anonymous"></script>
|
|
<api-text api-url="/api/now-playing">
|
|
<p class="loading">🎧 Loading...</p>
|
|
<p class="content"></p>
|
|
<noscript>
|
|
{%- assign track = music.recent | first -%}
|
|
<p>🎧 {{ track.title }} <a href="{{ track.url }}">{{ track.artist }}</a></p>
|
|
</noscript>
|
|
</api-text> |