mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
make telephone links work
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
{{ range $index, $element := .Site.Params.navbar.links}}
|
||||
<li>
|
||||
<a class="block py-2 pr-4 pl-3 border-b border-gray-100 hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-primary-700 lg:p-0 lg:dark:hover:text-primary-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700" aria-current="page"
|
||||
href="{{.link}}">
|
||||
href="{{ if ( .phone ) }}tel:{{ .phone }}{{else}}{{ .link }}{{ end }}">
|
||||
{{ .name }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user