diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | exampleSite/config.toml | 6 | ||||
-rw-r--r-- | layouts/partials/jumbotron.html | 17 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 10 |
4 files changed, 31 insertions, 5 deletions
@@ -52,6 +52,7 @@ These should be set under the `[params]` section: | Field Name | Required | Description | Example | |-------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| | | | | | `site_theme` | No | The color scheme for the overall site. Currently the options are `orange` (default), `grey`, and `blue`. | "blue" | | `site_layout` | No | The layout for the home page. The options are `row` (default) or `grid`. | "grid" | | `enable_jumbo` | No | When using the `row` layout, will set a jumbotron at the top instead of the sidebar. | "true" | @@ -62,6 +63,8 @@ These should be set under the `[params]` section: | `android_subscribe` | No | The URL for your podcast for Android users. You can generate this URL at [Subscribe on Android](https://subscribeonandroid.com). | "http://subscribeonandroid.com/feeds.podtrac.com/VGAulpN7MY1U" | | `google_play_subscribe` | No | The URL to your podcast in the Google Play store. | "https://goo.gl/app/playmusic?ibi=com.google.PlayMusic&isi=691797987&ius=googleplaymusic&link=https://play.google.com/music/m/Ihj4yege3lfmp3vs5yoopgxijpi?t%3DArrested_DevOps" | | `sticher_subscribe` | No | The URL to your podcast on Stitcher. | "http://www.stitcher.com/podcast/arrested-devops-2/arrested-devops" | +| `soundcloud_subscribe` | No | The URL to your podcast's feed on Soundcloud | "http://feeds.soundcloud.com/users/soundcloud:users:203144248/sounds.rss" | +| `pocketcasts_subscribe` | No | The URL to your podcast's feed on Pocketcasts | "http://pcasts.in/feed/feeds.soundcloud.com/users/soundcloud:users:203144248/sounds.rss" | | `mailchimp_subscribe` | No | The URL for your MailChimp signup form. This can be acquired from creating a "Super Slim" Embedded form on MailChimp. Do NOT include the entire form HTML; you just need the path for the `form action`. | "//arresteddevops.us3.list-manage.com/subscribe/post?u=5e4cbcac996bb9df25f970a89&id=154fa76bcc" | | `rss_subscribe` | No | Optional parameter to over-ride the RSS feed URL, in case you use something like Feedburner. You likely do NOT need to set this parameter unless you have a very good reason to do so. | "http://feeds.podtrac.com/VGAulpN7MY1U" | | `description` | Yes | Description of your show. Can use Markdown. | `"The HugoCast is the best podcast you've ever seen. You will learn everything you ever needed to know about [podcasting](https://en.wikipedia.org/wiki/Podcast) from the most inspiring experts to ever show up on the whole internet."` | diff --git a/exampleSite/config.toml b/exampleSite/config.toml index efa9dde..26cb57f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -44,14 +44,16 @@ themesdir = "../.." [params] site_theme = "orange" -site_layout = "row" -enable_jumbo = "false" +site_layout = "grid" +enable_jumbo = "true" # about_logo = "/img/hugocast.png" 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" 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" sticher_subscribe = "http://www.stitcher.com/podcast/arrested-devops-2/arrested-devops" +soundcloud_subscribe = "http://feeds.soundcloud.com/users/soundcloud:users:203144248/sounds.rss" +pocketcasts_subscribe = "http://pcasts.in/feed/feeds.soundcloud.com/users/soundcloud:users:203144248/sounds.rss" mailchimp_subscribe = "//arresteddevops.us3.list-manage.com/subscribe/post?u=5e4cbcac996bb9df25f970a89&id=154fa76bcc" #rss_subscribe = "http://feed.com/myfeed" #only set this if you don't want to use the built-in feed description = "The HugoCast is the best podcast you've ever seen. You will learn everything you ever needed to know about [podcasting](https://en.wikipedia.org/wiki/Podcast) from the most inspiring experts to ever show up on the whole internet." diff --git a/layouts/partials/jumbotron.html b/layouts/partials/jumbotron.html index 6bff3f5..ddf5e66 100644 --- a/layouts/partials/jumbotron.html +++ b/layouts/partials/jumbotron.html @@ -35,20 +35,31 @@ </div> {{ end }} {{ with .Site.Params.sticher_subscribe }} - <div class = "col subscribe_buttons"> + <div class = "col subscribe_buttons col-md-auto"> <a class="btn btn-default" href="{{ . }}"><i class="fa fa-podcast"></i> Stitcher</a> </div> {{ end }} + {{ if (isset .Site.Params "soundcloud_subscribe") }} + <div class = "col subscribe_buttons col-md-auto"> + <a class="btn btn-default" href="{{ .Site.Params.soundcloud_subscribe }}"><i class="fa fa-soundcloud"></i> Soundcloud</a> + </div> + {{ end }} + {{ if (isset .Site.Params "pocketcasts_subscribe") }} + <div class = "col subscribe_buttons col-md-auto"> + <a class="btn btn-default" href="{{ .Site.Params.pocketcasts_subscribe }}"><i class="fa fa-podcast"></i> PocketCasts</a> + </div> + {{ end }} {{ if (isset .Site.Params "rss_subscribe" )}} <div class = "col subscribe_buttons col-md-auto"> <a class="btn btn-default" href="{{ .Site.Params.rss_subscribe }}"><i class="fa fa-rss"></i> RSS</a> </div> {{ else }} - <div class = "col subscribe_buttons"> - <a class="btn btn-default" href="{{"episode/index.xml" | absURL }}"><i class="fa fa-rss"></i> Subscribe via RSS</a> + <div class = "col subscribe_buttons col-md-auto"> + <a class="btn btn-default" href="{{"episode/index.xml" | absURL }}"><i class="fa fa-rss"></i> RSS</a> </div> {{ end }} </div> </div> +</div> diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8182692..af1f6a3 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -26,6 +26,16 @@ <a class="btn btn-default" href="{{ . }}"><i class="fa fa-podcast"></i> Stitcher</a> </div> {{ end }} + {{ if (isset .Site.Params "soundcloud_subscribe") }} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.Params.soundcloud_subscribe }}"><i class="fa fa-soundcloud"></i> Soundcloud</a> + </div> + {{ end }} + {{ if (isset .Site.Params "pocketcasts_subscribe") }} + <div class = "col-md-12 subscribe_buttons"> + <a class="btn btn-default" href="{{ .Site.Params.pocketcasts_subscribe }}"><i class="fa fa-podcast"></i> PocketCasts</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> RSS</a> |