hugo-PaperMod/layouts/partials/indexProfileButtons.html
Aditya Telange df457f7514
profile-mode : add buttons
ex.
params:
  profileMode:
    buttons:
      - name: Archive
        url: "/archive"
      - name: Github
        url: "https://github.com/"
2020-08-28 18:47:00 +05:30

7 lines
191 B
HTML

{{ range . -}}
<span class="button">
<a href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
<span class="button-inner">{{ .name }}</span>
</a>
</span>
{{- end -}}