Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@ type = "sans_serif"
name = "Roboto Mono"
sizes = [300, 400, 600, 700]
type = "monospace"

[params.social]
github = "https://github.com/fdio"
twitter = "https://twitter.com/FDioProject"
5 changes: 4 additions & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<img class="img-responsive" src="{{ .Site.BaseURL }}img/fdio-color.svg" alt="{{ .Site.Title }} Logo">
</a>
</div>
<div class="col-md-10 fix-navbar-zindex">
<div class="col-md-8 fix-navbar-zindex">
<!-- header Nav Start -->
<nav class="navbar navbar-default">
<div class="container-fluid">
Expand All @@ -31,6 +31,9 @@
</div><!-- /.container-fluid -->
</nav>
</div>
<div class="col-md-1">
{{ partial "social-buttons.html" . }}
</div>
</div>
</div>
</header><!-- header close -->
Expand Down
17 changes: 17 additions & 0 deletions layouts/partials/social-buttons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{ $github := site.Params.social.github }}
{{ $twitter := site.Params.social.twitter }}
<div class="navbar-item">
<div class="buttons is-radiusless">
<a class="button is-twitter-blue" href="{{ $twitter }}" target="_blank">
<span class="icon">
<i class="fab fa-twitter"></i>
</span>
</a>

<a class="button is-black" href="{{ $github }}" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
</a>
</div>
</div>