mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2497 from ZhenShuo2021/chore/icon-title
🔧 Chore: add title to icons
This commit is contained in:
@@ -42,9 +42,12 @@
|
|||||||
href="{{ $link }}"
|
href="{{ $link }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label="{{ $name | title }}"
|
aria-label="{{ $name | title }}"
|
||||||
rel="me noopener noreferrer"
|
title="{{ $name | title }}"
|
||||||
><span class="inline-block align-text-bottom">{{ partial "icon.html" $name }}</span></a
|
rel="me noopener noreferrer">
|
||||||
>
|
<span class="inline-block align-text-bottom">
|
||||||
|
{{ partial "icon.html" $name }}
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -70,11 +70,10 @@
|
|||||||
href="{{ $url }}"
|
href="{{ $url }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label="{{ $name | title }}"
|
aria-label="{{ $name | title }}"
|
||||||
rel="me noopener noreferrer"
|
title="{{ $name | title }}"
|
||||||
>{{ partial
|
rel="me noopener noreferrer">
|
||||||
"icon.html" $name
|
{{ partial "icon.html" $name }}
|
||||||
}}</a
|
</a>
|
||||||
>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -83,22 +83,20 @@
|
|||||||
href="{{ $url }}"
|
href="{{ $url }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label="{{ $name | title }}"
|
aria-label="{{ $name | title }}"
|
||||||
rel="me noopener noreferrer"
|
title="{{ $name | title }}"
|
||||||
>{{ partial
|
rel="me noopener noreferrer">
|
||||||
"icon.html" $name
|
{{ partial "icon.html" $name }}
|
||||||
}}</a
|
</a>
|
||||||
>
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a
|
<a
|
||||||
class="px-1 hover:text-primary-400 text-primary-800 dark:text-primary-200"
|
class="px-1 hover:text-primary-400 text-primary-800 dark:text-primary-200"
|
||||||
href="{{ $url }}"
|
href="{{ $url }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label="{{ $name | title }}"
|
aria-label="{{ $name | title }}"
|
||||||
rel="me noopener noreferrer"
|
title="{{ $name | title }}"
|
||||||
>{{ partial
|
rel="me noopener noreferrer">
|
||||||
"icon.html" $name
|
{{ partial "icon.html" $name }}
|
||||||
}}</a
|
</a>
|
||||||
>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user