2016-10-04 18:06:51 +00:00
[![wercker status ](https://app.wercker.com/status/66ec21eac3d13a824ffad55138a17e4a/m/master "wercker status" )](https://app.wercker.com/project/byKey/66ec21eac3d13a824ffad55138a17e4a)
2016-10-01 12:23:45 +00:00
Last.fm Hugo Demo Theme
2016-10-01 12:15:09 +00:00
=================
2016-10-01 12:27:26 +00:00
This is a simple demo theme that shows how to use [last.fm ](https://last.fm ) with [hugo ](https://gohugo.io ). Running demo can be found [here][demo_page].
2016-10-01 12:15:09 +00:00
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:
```toml
[Params]
username = "< username > "
apikey = "< apikey > "
2016-10-01 12:24:11 +00:00
limit = "< limit > "
2016-10-01 12:15:09 +00:00
```
Username is your [last.fm ](https://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 ](http://www.last.fm/api/account/create ).
2016-10-01 12:23:33 +00:00
Used Libraries
---------
- [Boostrap ](https://getbootstrap.com/ )
- [Momentjs ](http://momentjs.com/ )
- [Jquery ](https://jquery.com/ )
Contributing
------------
Report any bugs using the [issue tracker][issue_tracker]. Submit your own bug
fixes or feature additions via a [pull request][pull_request].
License
-------
This theme is released under the MIT License. For more information read the
[license][license].
2016-10-01 14:13:23 +00:00
[demo_page]: https://lastfm-hugo-demo.ryankes.eu/
2016-10-01 12:23:33 +00:00
[setup_guide]: http://gohugo.io/overview/installing/
2016-10-01 12:15:09 +00:00
[issue_tracker]: https://github.com/alrayyes/lastfm-hugo-demo-theme/issues
[pull_request]: https://github.com/alrayyes/lastfm-hugo-demo-theme/pulls
2016-10-01 12:23:33 +00:00
[license]: https://github.com/alrayyes/lastfm-hugo-demo-theme/blob/master/LICENSE.md