diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2016-09-25 08:00:50 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2016-09-25 08:00:50 +0300 |
commit | 082e1053cac3bca96438e075749db372be8340ff (patch) | |
tree | 313682996da854af38d09989b7a70565370153be /layouts/partials | |
parent | 93c89ea7a93364ed28f31a60c3c5cb19295a365e (diff) |
Add show about widget
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/sidebar.html | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 9489d67..2e7906e 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,4 +1,4 @@ -<div class="row"> +<div class="row"><!-- subscribe begin --> <div class="col-md-12 sidebar_general"> <div class = "row"> <div class = "col-md-12"> @@ -32,13 +32,9 @@ {{ end }} </div> </div> -</div> -<!-- -<div class = "row"> - <div class = "col-md-12 sidebar_spacer"> - </div> -</div> --> -{{ if (isset .Site.Params "itunes_subscribe") }} +</div><!-- subscribe end --> + +{{ if (isset .Site.Params "mailchimp_subscribe") }} <!-- mailchimp begin --> <div class="row"> <div class="col-md-12 sidebar_general"> <div class = "row"> @@ -49,7 +45,7 @@ <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"> + <!-- <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"> @@ -67,4 +63,23 @@ </div> </div> </div> -{{ end }} +{{ end }}<!-- mailchimp end --> + +{{ if (isset .Site.Params "description") }} <!-- about begin --> + <div class="row"> + <div class="col-md-12 sidebar_general"> + <div class="row"> + <div class="col-md-12"> + <h3 class="sidebar_headline text-uppercase">About {{ .Site.Params.title }}</h3> + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <div class="sidebar_content"> + {{ .Site.Params.description | markdownify }} + </div> + </div> + </div> + </div> + </div> +{{ end }} <!-- end about --> |