From 4b5e654abf72eee35f517f0bb9092d8928bfa8f0 Mon Sep 17 00:00:00 2001
From: Luiz F. A. de PrĂ¡ <luiz.pra@olist.com>
Date: Wed, 05 Feb 2020 20:04:52 +0000
Subject: [PATCH] Fix social icons sort
---
layouts/partials/home.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/home.html b/layouts/partials/home.html
index e6ab9ce..1c17468 100644
--- a/layouts/partials/home.html
+++ b/layouts/partials/home.html
@@ -7,7 +7,7 @@
<h2>{{ .Site.Params.info }}</h2>
{{ with .Site.Params.social }}
<ul>
- {{ range sort .}}
+ {{ range sort . "weight" }}
{{ if .icon }}
<li>
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} {{ if .target }}target="{{ .target }}"{{ end }} {{ if .type }}type="{{ .type }}"{{ end }}>
--
Gitblit v1.10.0