diff --git a/layouts/partials/header/header-mobile-option-simple.html b/layouts/partials/header/header-mobile-option-simple.html index 98a77b33..8efd3d10 100644 --- a/layouts/partials/header/header-mobile-option-simple.html +++ b/layouts/partials/header/header-mobile-option-simple.html @@ -6,14 +6,17 @@ }} target="_blank" {{ end }} - class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400"> + class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400" + title="{{ .Title }}"> {{ if .Pre }}
{{ partial "icon.html" .Pre }}
{{ end }} -

- {{ .Name | markdownify }} -

+ {{ if .Name }} +

+ {{ .Name | markdownify }} +

+ {{ end }} diff --git a/layouts/partials/header/header-option-simple.html b/layouts/partials/header/header-option-simple.html index a934a5b9..a3f8e32b 100644 --- a/layouts/partials/header/header-option-simple.html +++ b/layouts/partials/header/header-option-simple.html @@ -1,13 +1,16 @@ + class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400" + title="{{ .Title }}"> {{ if .Pre }} {{ partial "icon.html" .Pre }} {{ end }} -

- {{ .Name | markdownify }} -

+ {{ if .Name }} +

+ {{ .Name | markdownify }} +

+ {{ end }}