diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 20:08:19 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2017-04-26 20:08:19 +0300 |
commit | 1d1c537a52c033b1829def06164356e9502377e5 (patch) | |
tree | bbdda66807eab84ddd973e73b36dee71ca9c45c5 /layouts/partials | |
parent | 5020a7c2c78942b54b24960444772c583610f69d (diff) |
Add host sidebar
Fixes #53
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/sidebar.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 931b3eb..794b752 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -83,3 +83,30 @@ </div> </div> {{ end }} <!-- end about --> + +<!-- host sidebar --> +<div class = "row"> + <div class="col-md-12 sidebar_general"> + <div class="row"> + <div class="col-md-12"> + <h3 class="sidebar_headline text-uppercase"> + {{ if eq (len $.Site.Params.authors) 1 }} + Host + {{ else }} + Hosts + {{ end }}</h3> + </div> + </div> + <div class="row"> + <div class = "col-md-12"> + <div class="sidebar_content"> + {{ range $p:= $.Site.Params.authors }} + <img alt = "{{ $p.name }}" src = "{{ $p.thumbnail }}" class="img-fluid"> + <br /> + {{ $p.name }} + {{ end }} + </div> + </div> + </div> + </div> +</div> |