Add link titles
This commit is contained in:
parent
4ee35f1080
commit
878c0deaa2
|
@ -39,10 +39,16 @@ menu_links:
|
|||
url: /presentations
|
||||
- title: Podcast
|
||||
url: /podcast
|
||||
attributes:
|
||||
title: The Beyond Blocks Podcast
|
||||
- title: Daily list
|
||||
url: /daily
|
||||
attributes:
|
||||
title: The Daily Drupaler Email List
|
||||
- title: Contact
|
||||
url: 'mailto:%email%'
|
||||
attributes:
|
||||
title: Contact Oliver
|
||||
|
||||
meta:
|
||||
description: |-
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<nav class="flex flex-wrap justify-center -mb-3">
|
||||
{% for link in site.menu_links %}
|
||||
<a class="mx-3 mb-3 text-base underline md:text-lg dark:text-white hover:no-underline link dark:hover:text-blue-400 hover:text-gray-900" href="{{ link.url }}">
|
||||
<a class="mx-3 mb-3 text-base underline md:text-lg dark:text-white hover:no-underline link dark:hover:text-blue-400 hover:text-gray-900" href="{{ link.url }}" title="{{ link.attributes.title ?? link.title }}">
|
||||
{{ link.title }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue