Add link titles
This commit is contained in:
parent
4ee35f1080
commit
878c0deaa2
|
@ -39,10 +39,16 @@ menu_links:
|
||||||
url: /presentations
|
url: /presentations
|
||||||
- title: Podcast
|
- title: Podcast
|
||||||
url: /podcast
|
url: /podcast
|
||||||
|
attributes:
|
||||||
|
title: The Beyond Blocks Podcast
|
||||||
- title: Daily list
|
- title: Daily list
|
||||||
url: /daily
|
url: /daily
|
||||||
|
attributes:
|
||||||
|
title: The Daily Drupaler Email List
|
||||||
- title: Contact
|
- title: Contact
|
||||||
url: 'mailto:%email%'
|
url: 'mailto:%email%'
|
||||||
|
attributes:
|
||||||
|
title: Contact Oliver
|
||||||
|
|
||||||
meta:
|
meta:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<nav class="flex flex-wrap justify-center -mb-3">
|
<nav class="flex flex-wrap justify-center -mb-3">
|
||||||
{% for link in site.menu_links %}
|
{% 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 }}
|
{{ link.title }}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue