diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2016-09-23 22:49:42 +0300 |
---|---|---|
committer | Matt Stratton <matt.stratton@gmail.com> | 2016-09-23 22:49:42 +0300 |
commit | 05d3c88fb35b7fa7db890abefa2bd871e61d1faf (patch) | |
tree | 255f9c35186f234821809093487482c6ce3af599 /layouts/partials | |
parent | 29578a02b14a7958f5c6d0bea5bed7f33ac2d091 (diff) |
Add social links
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/header.html | 66 |
1 files changed, 42 insertions, 24 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 45d90b0..0a5fddd 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -22,37 +22,55 @@ <a href="#">Link</a> </li> </ul> - <form class="navbar-form navbar-left" role="search"> + <!-- <form class="navbar-form navbar-left" role="search"> <div class="form-group"> <input type="text" class="form-control" /> </div> <button type="submit" class="btn btn-default"> Submit </button> - </form> + </form> --> <ul class="nav navbar-nav navbar-right"> - <li> - <a href="#">Link</a> - </li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown<strong class="caret"></strong></a> - <ul class="dropdown-menu"> - <li> - <a href="#">Action</a> - </li> - <li> - <a href="#">Another action</a> - </li> - <li> - <a href="#">Something else here</a> - </li> - <li class="divider"> - </li> - <li> - <a href="#">Separated link</a> - </li> - </ul> - </li> + {{ if (isset .Site.Params.social "facebook" ) }} + <li> + <a class = "social-links" href="https://facebook.com/{{ .Site.Params.social.facebook }}"><i class="fa fa-facebook-square fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "twitter" ) }} + <li> + <a class = "social-links" href="https://twitter.com/{{ .Site.Params.social.twitter }}"><i class="fa fa-twitter-square fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "youtube" ) }} + <li> + <a class = "social-links" href="https://youtube.com/{{ .Site.Params.social.youtube }}"><i class="fa fa-youtube fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "googleplus" ) }} + <li> + <a class = "social-links" href="https://plus.google.com/+{{ .Site.Params.social.googleplus }}"><i class="fa fa-google-plus-square fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "pinterest" ) }} + <li> + <a class = "social-links" href="https://www.pinterest.com/{{ .Site.Params.social.pinterest }}"><i class="fa fa-pinterest-square fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "instagram" ) }} + <li> + <a class = "social-links" href="https://www.instagram.com/{{ .Site.Params.social.instagram }}"><i class="fa fa-instagram fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "linkedin" ) }} + <li> + <a class = "social-links" href="https://www.linkedin.com/in{{ .Site.Params.social.linkedin }}"><i class="fa fa-linkedin-square fa-2x"></i></a> + </li> + {{ end }} + {{ if (isset .Site.Params.social "github" ) }} + <li> + <a class = "social-links" href="https://github.com/{{ .Site.Params.social.github }}"><i class="fa fa-github fa-2x"></i></a> + </li> + {{ end }} </ul> </div> </div> |