about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-08-02 12:56:11 +0100
committerAlan Pearce2014-08-02 12:56:11 +0100
commitb5178a7df73ff871c736a23b86843b91bb0b2ab4 (patch)
tree6ffa6d6af17808f550e4cd97bd063a3e6ab7cf6c
parent84bd86f43144a71009487691ce0222078365ff30 (diff)
downloadhyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.tar.lz
hyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.tar.zst
hyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.zip
Render author URLs from config params
-rw-r--r--layouts/partials/sidebar.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 8c211bd..ec883ad 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -28,7 +28,9 @@
 					<h3 class="contact-head">Contact me</h3>
 					<ul class="contact-list">
 						<li><a href="mailto:alan@alanpearce.uk"><span itemprop="email">alan@alanpearce.uk</span></a></li>
-						<li><a itemprop="url" href="https://twitter.com/alanpearceuk">Twitter</a></li>
+						{{ range $text, $uri := .Site.Params.author.urls }}
+						<li><a itemprop="url" href="{{ $uri }}">{{ $text }}</a></li>
+						{{ end }}
 					</ul>
 				</aside>
 			</header>