aboutsummaryrefslogtreecommitdiffstats
path: root/gum/templates/sidebar.html
diff options
context:
space:
mode:
authorशंतनू <shantanoo@gmail.com>2013-09-14 12:46:52 +0530
committerशंतनू <shantanoo@gmail.com>2013-09-14 12:46:52 +0530
commit9a9c2a5c86808241ade4c0ffbe1e85c10c8864dd (patch)
treeaf15af41b651b6f7d00f60cc983658f83ef5afab /gum/templates/sidebar.html
parenta217f4239e87d4d17c518e0ecdb7cd20a6752f12 (diff)
downloadpelican-themes-9a9c2a5c86808241ade4c0ffbe1e85c10c8864dd.tar.gz
URL and name were being displayed incorrectly.
Format in pelicanconf.py is as follow. === # Social widget SOCIAL = ( ('GitHub', 'https://github.com/<user>'), ) ===
Diffstat (limited to 'gum/templates/sidebar.html')
-rw-r--r--gum/templates/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gum/templates/sidebar.html b/gum/templates/sidebar.html
index 442549e..25b22e4 100644
--- a/gum/templates/sidebar.html
+++ b/gum/templates/sidebar.html
@@ -43,7 +43,7 @@
<nav class="widget">
<h4>Social</h4>
<ul>
- {% for url, name in SOCIAL %}
+ {% for name, url in SOCIAL %}
<li><a href="{{ url|e }}">{{ name }}</a></li>
{% endfor %}
</ul>