Skip to content

Commit

Permalink
Add tour dates and clean up with shortcodes
Browse files Browse the repository at this point in the history
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
TheBiggerGuy committed Mar 3, 2019
1 parent ca2c973 commit 98da726
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion site/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Their aims are to capture the raw energy and excitement of the early jazz record
In their brief existence so far they have performed at Aberdeen, Edinburgh, Dundee and Glasgow Jazz Festivals, collaborated with various musicians via their own Cellar Session residency, and performed their own hit show on the Edinburgh Fringe telling the story of the 'Red Hot Roots of Jazz' from turn of the century New Orleans and beyond.


## Tour Dates

{{< songkick 9406004 "Tenement Jazz Band" >}}


## New EP Available Now

[<img src="ep_cover.jpg" class="img-fluid d-block mx-auto" alt="EP album cover">](https://tenementjazzband.bandcamp.com/releases)
Expand All @@ -21,4 +26,4 @@ In their brief existence so far they have performed at Aberdeen, Edinburgh, Dund
<i>New Orleans Wiggle</i> by <i>Tenement Jazz Band</i> now available from <a href="https://tenementjazzband.bandcamp.com/releases"><span class="fab fa-bandcamp"></span>/TenementJazzBand</a>.
</p>

<iframe class="mx-auto embeded-bootcamp-iframe" src="https://bandcamp.com/EmbeddedPlayer/album=1900500612/size=large/bgcol=ffffff/linkcol=0687f5/artwork=small/transparent=true/" seamless><a href="http://tenementjazzband.bandcamp.com/album/new-orleans-wiggle">New Orleans Wiggle by Tenement Jazz Band</a></iframe>
{{< bandcamp 1900500612 "mx-auto embeded-bootcamp-iframe" >}}
6 changes: 6 additions & 0 deletions site/layouts/shortcodes/bandcamp.html
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>
5 changes: 5 additions & 0 deletions site/layouts/shortcodes/songkick.html
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>

0 comments on commit 98da726

Please sign in to comment.