mirror of
https://github.com/imfing/hextra.git
synced 2025-05-13 09:16:27 -04:00
Merge bb5923f1138ec19ce96c62e4568a7e66adf8f957 into 4c4f43779c6de5adf1c61edd4e79aae233965393
This commit is contained in:
commit
656c953d95
@ -56,6 +56,12 @@
|
||||
{{ if $external }}target="_blank" rel="noreferrer"{{ end }}
|
||||
class="hx-text-sm contrast-more:hx-text-gray-700 contrast-more:dark:hx-text-gray-100 hx-relative -hx-ml-2 hx-hidden hx-whitespace-nowrap hx-p-2 md:hx-inline-block {{ $activeClass }}"
|
||||
>
|
||||
{{ with .Params.hero_icon -}}
|
||||
<span style="float: left; padding-right: 0.3em; padding-top: 2px; opacity: 0.75">
|
||||
{{ partial "utils/icon.html" (dict "name" . "attributes" "height=18") }}
|
||||
</span>
|
||||
{{- end }}
|
||||
|
||||
<span class="hx-text-center">{{ or (T .Identifier) .Name | safeHTML }}</span>
|
||||
</a>
|
||||
{{- end -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user