summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/partials/header/header-mobile-option-simple.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/layouts/partials/header/header-mobile-option-simple.html')
-rw-r--r--themes/blowfish/layouts/partials/header/header-mobile-option-simple.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/partials/header/header-mobile-option-simple.html b/themes/blowfish/layouts/partials/header/header-mobile-option-simple.html
new file mode 100644
index 0000000..e4d2d64
--- /dev/null
+++ b/themes/blowfish/layouts/partials/header/header-mobile-option-simple.html
@@ -0,0 +1,13 @@
+<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 }}
+ <div {{ if and .Pre .Name}} class="mr-2" {{ end }}>
+ {{ partial "icon.html" .Pre }}
+ </div>
+ {{ end }}
+ <p class="text-bg font-bg" title="{{ .Title }}">
+ {{ .Name | markdownify | emojify }}
+ </p>
+ </a>
+</li> \ No newline at end of file