summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/indexProfile.html5
-rw-r--r--layouts/partials/indexProfileButtons.html7
2 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/indexProfile.html b/layouts/partials/indexProfile.html
index 284829b..7757d51 100644
--- a/layouts/partials/indexProfile.html
+++ b/layouts/partials/indexProfile.html
@@ -12,5 +12,10 @@
{{ partial "social-icons.html" . }}
</div>
{{- end }}
+ {{- with .Site.Params.profileMode.buttons }}
+ <div class="buttons">
+ {{ partial "indexProfileButtons.html" . }}
+ </div>
+ {{- end }}
</div>
</div> \ No newline at end of file
diff --git a/layouts/partials/indexProfileButtons.html b/layouts/partials/indexProfileButtons.html
new file mode 100644
index 0000000..43ff716
--- /dev/null
+++ b/layouts/partials/indexProfileButtons.html
@@ -0,0 +1,7 @@
+{{ range . -}}
+<span class="button">
+ <a href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
+ <span class="button-inner">{{ .name }}</span>
+ </a>
+</span>
+{{- end -}} \ No newline at end of file