mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-04 00:28:54 -04:00
profile-mode : add buttons
ex. params: profileMode: buttons: - name: Archive url: "/archive" - name: Github url: "https://github.com/"
This commit is contained in:
parent
47126e37d5
commit
df457f7514
3 changed files with 33 additions and 1 deletions
7
layouts/partials/indexProfileButtons.html
Normal file
7
layouts/partials/indexProfileButtons.html
Normal file
|
@ -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 -}}
|
Loading…
Add table
Add a link
Reference in a new issue