danielmochdotcom

Nikola site for www.danielmoch.com
git clone git://git.danielmoch.com/danielmochdotcom.git
Log | Files | Refs

commit bdafc3b489a346bf6c0b165d60d4c6b2d60e628c
parent abce0576e389b33a5b3d5f83bcb11ae2fb62c4e2
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 11 Jul 2019 05:50:24 -0400

Sidebar: Sort links for consistency

Diffstat:
Mthemes/djmoch/templates/sidebar.tmpl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/djmoch/templates/sidebar.tmpl b/themes/djmoch/templates/sidebar.tmpl @@ -15,7 +15,7 @@ {% endmacro %} {% macro build_sidebar_links() %} - {% for heading, utype, href, text in sidebar_links %} + {% for heading, utype, href, text in sidebar_links | sort %} <p> <span class="social-heading">{{ heading }}</span> <a class="social-link u-{{ utype }}" rel="me" href="{{ href }}">{{ text }}</a>