From 23bdcee494daf42039557d5e3b77e771ff841b3b Mon Sep 17 00:00:00 2001 From: 089 Date: Sun, 17 Feb 2019 14:43:12 +0100 Subject: [PATCH] Add Spotify subscribe button Signed-off-by: 089 --- exampleSite/config.toml | 1 + layouts/partials/jumbotron.html | 5 +++++ layouts/partials/sidebar.html | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d4fc7ca2..6a36a7de 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -64,6 +64,7 @@ enable_jumbo = "true" copyright_notice = "Copyright 2016 [Matt Stratton](https://www.mattstrattion.io)" itunes_subscribe = "http://itunes.apple.com/us/podcast/arrested-devops/id773888088?mt=2&uo=4&at=11lsCi" android_subscribe = "http://subscribeonandroid.com/feeds.podtrac.com/VGAulpN7MY1U" +spotify_subscribe = "https://open.spotify.com/show/..." google_play_subscribe = "https://goo.gl/app/playmusic?ibi=com.google.PlayMusic&isi=691797987&ius=googleplaymusic&link=https://play.google.com/music/m/Ihj4yege3lfmp3vs5yoopgxijpi?t%3DArrested_DevOps" stitcher_subscribe = "http://www.stitcher.com/podcast/arrested-devops-2/arrested-devops" soundcloud_subscribe = "http://feeds.soundcloud.com/users/soundcloud:users:203144248/sounds.rss" diff --git a/layouts/partials/jumbotron.html b/layouts/partials/jumbotron.html index 53a77f1d..52d71573 100644 --- a/layouts/partials/jumbotron.html +++ b/layouts/partials/jumbotron.html @@ -19,6 +19,11 @@
+ {{ if (isset .Site.Params "spotify_subscribe") }} + + {{ end }} {{ if (isset .Site.Params "itunes_subscribe") }}
+ {{ if (isset .Site.Params "spotify_subscribe") }} + + {{ end }} {{ if (isset .Site.Params "itunes_subscribe") }}