diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
commit | e77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch) | |
tree | f0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/layouts/partials/header/header-mobile-option-nested.html | |
parent | 4b355837824ac2422d371acef790f0f4249255c7 (diff) |
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/layouts/partials/header/header-mobile-option-nested.html')
-rw-r--r-- | themes/blowfish/layouts/partials/header/header-mobile-option-nested.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/partials/header/header-mobile-option-nested.html b/themes/blowfish/layouts/partials/header/header-mobile-option-nested.html new file mode 100644 index 0000000..04c3e6d --- /dev/null +++ b/themes/blowfish/layouts/partials/header/header-mobile-option-nested.html @@ -0,0 +1,31 @@ +<li class="mt-1"> + <a class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400"> + {{ if .Pre }} + <span {{ if and .Pre .Name}} class="mr-1" {{ end }}> + {{ partial "icon.html" .Pre }} + </span> + {{ end }} + <p class="text-bg font-bg" title="{{ .Title }}"> + {{ .Name | markdownify | emojify }} + </p> + <span> + {{ partial "icon.html" "chevron-down" }} + </span> + </a> +</li> +{{ range .Children }} +<li class="mt-1"> + <a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:" + ) }} target="_blank" {{ end }} class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400"> + {{ if .Pre }} + <span {{ if and .Pre .Name}} class="mr-1" {{ end }}> + {{ partial "icon.html" .Pre }} + </span> + {{ end }} + <p class="text-sm font-small" title="{{ .Title }}"> + {{ .Name | markdownify | emojify }} + </p> + </a> +</li> +{{ end }} +<li class="mb-2"></li>
\ No newline at end of file |