From b3fd948b40fffa2ec6bc9ea70b92f3c99ba88d2f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 3 Nov 2017 22:51:10 +0000 Subject: [PATCH] Show correct links in nav and footer --- data/social.yml | 5 +++++ layouts/_default/baseof.html | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/data/social.yml b/data/social.yml index c589028..f2feb43 100644 --- a/data/social.yml +++ b/data/social.yml @@ -73,3 +73,8 @@ footer_accounts: - flickr - bitbucket - keybase + +navbar_accounts: + - github + - twitter + - keybase diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fcbc19f..2fc15f5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -24,17 +24,16 @@ {{ partial "nav_pages.html" . }} -
+
@@ -53,9 +52,10 @@

- - - + {{ range .Site.Data.social.footer_accounts }} + {{ $account := index $.Site.Data.social.accounts . }} + + {{ end }}