diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2016-09-23 22:35:37 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2016-09-23 22:35:37 +0300 |
commit | 29578a02b14a7958f5c6d0bea5bed7f33ac2d091 (patch) | |
tree | 97fcb82e0e735650801bcb65787463a4a3136af6 /layouts/partials | |
parent | 06fbe99b1d648339c2ef7073cb5d60cd87e3b2cf (diff) |
A bunch of stuff
Should have been broken into more commits. Some things added:
- Change the sidebar boxes to be brand-primary
- Use Lato and Raleway fonts
- Add Mailchimp basic functionality
- Clean up the Subscribe widget
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head_includes.html | 2 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 48 |
2 files changed, 45 insertions, 5 deletions
diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index 8174dba..851dc55 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -3,6 +3,6 @@ <link href="/css/bootstrap.css" rel="stylesheet"> <link href="/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <link href="/css/bootstrap3_player.css" rel="stylesheet"> - +<link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet"> {{ partial "google-analytics" . }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index e6fe909..9489d67 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,24 +1,29 @@ <div class="row"> <div class="col-md-12 sidebar_general"> + <div class = "row"> + <div class = "col-md-12"> + <h3 class="sidebar_headline text-uppercase">Subscribe</h3> + </div> + </div> <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> + <a class="btn btn-default" href="{{ .Site.Params.itunes_subscribe}}"><i class="fa fa-apple"></i> 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> + <a class="btn btn-default" href="{{ .Site.Params.android_subscribe }}"><i class="fa fa-android"></i> 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> + <a class="btn btn-default" href="{{ .Site.Params.google_play_subscribe }}"><i class="fa fa-music"></i> 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> + <a class="btn btn-default" href="{{ .Site.params.rss_subscribe }}"><i class="fa fa-rss"></i> RSS</a> </div> {{ else }} <div class = "col-md-12 subscribe_buttons"> @@ -28,3 +33,38 @@ </div> </div> </div> +<!-- +<div class = "row"> + <div class = "col-md-12 sidebar_spacer"> + </div> +</div> --> +{{ if (isset .Site.Params "itunes_subscribe") }} + <div class="row"> + <div class="col-md-12 sidebar_general"> + <div class = "row"> + <div class = "col-md-12"> + <h3 class="sidebar_headline text-uppercase">Join Our Mailing List</h3> + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <!-- Begin MailChimp Signup Form --> + <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css"> + <div id="mc_embed_signup"> + <form action="{{ .Site.Params.mailchimp_subscribe }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> + <div id="mc_embed_signup_scroll"> + <label for="mce-EMAIL">Subscribe to our mailing list</label> + <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required> + <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> + <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_5e4cbcac996bb9df25f970a89_154fa76bcc" tabindex="-1" value=""></div> + <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div> + </div> + </form> + </div> + + <!--End mc_embed_signup--> + </div> + </div> + </div> + </div> +{{ end }} |