danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
layouts/partials/home-social-links.html
@@ -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>