diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2016-09-22 21:21:50 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2016-09-22 21:21:50 +0300 |
commit | 05502bd4ba43504614cd544aea045815628fdfc3 (patch) | |
tree | a029dc2d04fb05251d6b8bbd8ad685cc372443fd /layouts/partials | |
parent | e24c0d9d7234bf58c69ce7b06b7d90344c70369d (diff) |
Add subscribe buttons to sidebar
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/sidebar.html | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index d3f008e..d0484b7 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,8 +1,30 @@ <div class="row"> <div class="col-md-12"> - <a href="https://www.google.com"><i class="fa fa-apple fa-5x"></i></a> - <a href="https://www.google.com"><i class="fa fa-android fa-5x"></i></a> - <a href="https://www.google.com"><i class="fa fa-rss fa-5x"></i></a> - </dl> + <div class="row"> + {{ if (isset .Site.Params "itunes_subscribe") }} + <div class = "col-md-12 subscribe_buttons subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.Params.itunes_subscribe}}"><i class="fa fa-apple"></i> Subscribe on iTunes</a> + </div> + {{ end }} + {{ if (isset .Site.Params "android_subscribe") }} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.Params.android_subscribe }}"><i class="fa fa-android"></i> Subscribe on Android</a> + </div> + {{ end }} + {{ if (isset .Site.Params "google_play_subscribe") }} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.Params.google_play_subscribe }}"><i class="fa fa-music"></i> Subscribe on Google Play Music</a> + </div> + {{ end }} + {{ if (isset .Site.Params "rss_subscribe" )}} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.params.rss_subscribe }}"><i class="fa fa-rss"></i> Subscribe via RSS</a> + </div> + {{ else }} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="/index.xml"><i class="fa fa-rss"></i> Subscribe via RSS</a> + </div> + {{ end }} + </div> </div> </div> |