1
0
mirror of https://github.com/alrayyes/lastfm-hugo-demo-theme synced 2023-11-13 18:16:42 +00:00
lastfm-hugo-demo-theme/README.md
2016-10-01 14:15:09 +02:00

1.0 KiB

Last.fm Hugo Demo

This is a simple demo that shows how to use last.fm with hugo.

Installation

Inside the folder of your Hugo site run:

$ mkdir themes
$ cd themes
$ git clone https://github.com/alrayyes/lastfm-hugo-demo-theme

For more information read the official [setup guide][setup_guide] of Hugo.

The Config File

Add the following to your config.toml:

[Params]
username = "<username>"
apikey = "<apikey>"
limit = "200"

Username is your last.fm username and the limit is the number of scrobbles you want to see (max 200). You can get an api key by creating an api account here.