added data/socials to manage social links inside templates. General cleanup of the...
[theme-danix.xyz.git] / layouts / partials / home-social-links.html
diff --git a/layouts/partials/home-social-links.html b/layouts/partials/home-social-links.html
new file mode 100644 (file)
index 0000000..cef1f3a
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="home-social-links">
+       <h3 class="text-only">my socials</h3>
+       <ul>
+               {{ range site.Data.socials.sites }}
+                       <li>
+                               <a href="{{ .url }}/{{ .user }}">{{ .name }}</a>
+                       </li>
+               {{ end }}
+       </ul>
+</div>