From 771c1746a6863641a15c0b16914154eb3142ce91 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sun, 2 Oct 2016 01:15:57 +0200 Subject: [PATCH] Show empty album page when necessary --- layouts/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 21e292e..bd514b8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -31,7 +31,8 @@ {{ $dataJ := getJSON (printf "https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=%s&api_key=%s&format=json&limit=%s" .Site.Params.username .Site.Params.apikey (.Site.Params.limit) ) }} {{ range $dataJ.recenttracks.track }} -
+ +

{{ printf "%s - %s" (index .artist "#text") .name }}
-