diff options
author | Alan Pearce | 2014-08-02 12:56:11 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-02 12:56:11 +0100 |
commit | b5178a7df73ff871c736a23b86843b91bb0b2ab4 (patch) | |
tree | 6ffa6d6af17808f550e4cd97bd063a3e6ab7cf6c /layouts/partials | |
parent | 84bd86f43144a71009487691ce0222078365ff30 (diff) | |
download | hyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.tar.lz hyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.tar.zst hyde-b5178a7df73ff871c736a23b86843b91bb0b2ab4.zip |
Render author URLs from config params
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
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> |