Luiz F. A. de Prá пре 5 година
родитељ
комит
4b5e654abf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      layouts/partials/home.html

+ 1 - 1
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 }}>