A Hexo tag plugin which makes it easy to embed any type of Spotify content.
npm install --save hexo-tag-spotify
Add the tag markup to a post with the url of the content you want to embed.
- Example with Spotify URI:
{% spotify spotify:track:7kkRhGDCAVd5YVoieTChxG %}
- Example with HTTP link:
{% spotify http://open.spotify.com/artist/5p9CTsn5ueGU4oScNX1axu %}
You can configure the size, theme and view of the widgets.
Allowed values are:
- size
large
(default)compact
<width>x<height>
Example configuration:
spotify:
size: 'large'