mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Move navbar config to /data/navbar.yml
Move footer config to /data/footer.yml Remove unused blog
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</a>
|
||||
|
||||
<ul class="flex flex-wrap justify-around items-center mb-6 text-sm font-medium text-gray-500 sm:mb-0 dark:text-gray-400">
|
||||
{{ range $key, $value := .Site.Params.footer.links }}
|
||||
{{ range $key, $value := .Site.Data.footer.links }}
|
||||
<li>
|
||||
<a href="{{ $value.href }}" class="hover:text-white mx-4">{{ $value.name }}</a>
|
||||
</li>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<div class="hidden justify-between items-center w-full lg:flex lg:w-auto lg:order-1 bg-white dark:bg-gray-800 lg:bg-transparent lg:dark:bg-transparent mt-2 lg:mt-0" id="mobile-menu-2">
|
||||
<ul class="flex flex-col rounded-lg font-medium lg:flex-row lg:space-x-8 text-gray-900 dark:text-gray-300">
|
||||
{{ range $index, $element := .Site.Params.navbar.links}}
|
||||
{{ range $index, $element := .Site.Data.navbar.links}}
|
||||
<li>
|
||||
<a class="block py-2 pr-4 pl-3 border-b text-lg
|
||||
border-gray-100 hover:bg-gray-100 lg:hover:bg-transparent lg:text-xl
|
||||
|
||||
Reference in New Issue
Block a user