From 9edafd94b00a73662d51824dbcba0a018e2140cf Mon Sep 17 00:00:00 2001 From: alyx Date: Thu, 10 Aug 2023 20:45:01 -0400 Subject: Create plain theme, do some escaping, fix some busted envvars, document themes. --- src/themes/plain.hbs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/themes/plain.hbs (limited to 'src/themes/plain.hbs') diff --git a/src/themes/plain.hbs b/src/themes/plain.hbs new file mode 100644 index 0000000..cbe8948 --- /dev/null +++ b/src/themes/plain.hbs @@ -0,0 +1,34 @@ + + + + + {{#if error}}Error!{{else}}@{{user.name}}'s Last.fm Stats{{/if}} + + + + {{#if error}} +

{{error}}

+ {{else}} + +

@{{user.name}}{{#if scrobble.now_playing}} + is scrobbling{{else}}'s last scrobble was + {{/if}} +

+ {{scrobble.name}} +

+ {{#if scrobble.album}}from {{scrobble.album}}{{/if}} +

+ by {{scrobble.artist.name}}. +

+ {{/if}} + + \ No newline at end of file -- cgit v1.2.3-54-g00ecf