mirror of
https://github.com/imfing/hextra.git
synced 2025-07-15 22:21:37 -04:00
Compare commits
1 Commits
994c5b34bb
...
v0.8.6
Author | SHA1 | Date | |
---|---|---|---|
7b7eb0f1f3 |
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
|
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
|
||||||
{{- $pages = where $pages "Params.excludeSearch" "!=" true -}}
|
{{- $pages = where $pages "Params.excludeSearch" "!=" true -}}
|
||||||
|
{{- $pages = where $pages "Content" "!=" "" -}}
|
||||||
|
|
||||||
{{- $output := dict -}}
|
{{- $output := dict -}}
|
||||||
|
|
||||||
|
@ -56,12 +56,6 @@
|
|||||||
{{ if $external }}target="_blank" rel="noreferer"{{ end }}
|
{{ if $external }}target="_blank" rel="noreferer"{{ 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 }}"
|
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>
|
<span class="hx-text-center">{{ or (T .Identifier) .Name | safeHTML }}</span>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Reference in New Issue
Block a user