mirror of
https://github.com/alrayyes/lastfm-hugo-demo-theme
synced 2023-11-13 18:16:42 +00:00
modified readme
This commit is contained in:
parent
c84511d946
commit
e60bf5feed
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
||||
Last.fm Hugo Demo
|
||||
=================
|
||||
|
||||
This is a simple demo that shows how to use [last.fm](https://last.fm) with [hugo](https://gohugo.io).
|
||||
|
||||
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>"
|
||||
limit = "200"
|
||||
```
|
||||
|
||||
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).
|
||||
|
||||
[bootstrap]: https://getbootstrap.com/
|
||||
[momentjs]: http://momentjs.com/
|
||||
[jquery]: https://jquery.com/
|
||||
[issue_tracker]: https://github.com/alrayyes/lastfm-hugo-demo-theme/issues
|
||||
[pull_request]: https://github.com/alrayyes/lastfm-hugo-demo-theme/pulls
|
||||
[license]: https://github.com/chipsenkbeil/grid-side/blob/master/LICENSE
|
@ -18,7 +18,7 @@
|
||||
|
||||
<body>
|
||||
|
||||
<a href="https://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
|
||||
<a href="https://github.com/alrayyes/lastfmdemo"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
|
||||
<div class="container-fluid">
|
||||
<div class="row text-center">
|
||||
<h3 style="color:white;font-family:verdana;">
|
||||
|
15
theme.toml
15
theme.toml
@ -1,13 +1,10 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/spf13/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Lastfmdemo"
|
||||
name = "Lastfmhugodemo"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/alrayyes/lastfmdemo/blob/master/LICENSE.md"
|
||||
description = ""
|
||||
homepage = "http://siteforthistheme.com/"
|
||||
tags = ["", ""]
|
||||
features = ["", ""]
|
||||
licenselink = "https://github.com/alrayyes/lastfm-hugo-demo-theme/blob/master/LICENSE.md"
|
||||
description = "Theme that demonstrates Hugo & Last.fm api working together"
|
||||
homepage = "https://github.com/alrayyes/lastfm-hugo-demo-theme"
|
||||
tags = ["lastfm", "demo", "last.fm"]
|
||||
features = ["lastfm", "last.fm"]
|
||||
min_version = 0.15
|
||||
|
||||
[author]
|
||||
|
Loading…
Reference in New Issue
Block a user