-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tour dates and clean up with shortcodes
Add Songkick tour dates to the home page and clean up Bandcamp and Songkick embed codes by using shortcodes. Fixes Issue #6
- Loading branch information
1 parent
ca2c973
commit 98da726
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{ $album_id := .Get 0 }} | ||
{{ $css_class := .Get 1 }} | ||
|
||
<iframe src="https://bandcamp.com/EmbeddedPlayer/album={{ $album_id }}/size=large/bgcol=ffffff/linkcol=0687f5/artwork=small/transparent=true/" class="{{ $css_class }}" seamless> | ||
<a href="http://tenementjazzband.bandcamp.com/album/new-orleans-wiggle">New Orleans Wiggle by Tenement Jazz Band</a> | ||
</iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{ $artist_number := .Get 0 }} | ||
{{ $artist_name := .Get 1 }} | ||
|
||
<a href="https://www.songkick.com/artists/{{ $artist_number }}" class="songkick-widget" data-theme="dark" data-track-button="on" data-detect-style="true" data-background-color="transparent">{{ $artist_name }} tour dates</a> | ||
<script src="https://widget.songkick.com/{{ $artist_number }}/widget.js"></script> |