mirror of
https://github.com/alrayyes/lastfm-hugo-demo-theme
synced 2023-11-13 18:16:42 +00:00
1.4 KiB
1.4 KiB
Last.fm Hugo Demo Theme
This is a simple demo theme 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 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.
Used Libraries
Contributing
Report any bugs using the issue tracker. Submit your own bug fixes or feature additions via a pull request.
License
This theme is released under the MIT License. For more information read the license.