Move navbar config to /data/navbar.yml
Move footer config to /data/footer.yml Remove unused blog
34
config.yml
@@ -8,20 +8,6 @@ canonifyURLs: true
|
||||
params:
|
||||
format:
|
||||
date: "January 02, 2006"
|
||||
navbar:
|
||||
enable: true
|
||||
links:
|
||||
- name: Home
|
||||
link: /
|
||||
- name: Rates
|
||||
link: /rates/
|
||||
- name: Contact
|
||||
link: /contact/
|
||||
- name: About Us
|
||||
link: /about/
|
||||
- name: "(907) 519-8577"
|
||||
phone: 19075198577
|
||||
|
||||
logo:
|
||||
text: The Bearded Tek
|
||||
svg: /images/logo/no-padding.svg
|
||||
@@ -31,26 +17,6 @@ params:
|
||||
authors: William Kenny
|
||||
social_image_path: /marketing-ui/demo/images/og-image.jpg
|
||||
|
||||
footer:
|
||||
enable: true
|
||||
links:
|
||||
- name: About
|
||||
href: "/about/"
|
||||
- name: Support
|
||||
href: "/contact?topic=support"
|
||||
- name: Contact Us
|
||||
href: "/contact"
|
||||
- name: Blog
|
||||
href: "/blog/"
|
||||
- name: Terms
|
||||
href: "/terms/"
|
||||
- name: Privacy Policy
|
||||
href: "/privacy/"
|
||||
- name: Cookie Policy
|
||||
href: "/cookies/"
|
||||
- name: "(907) 519-8577"
|
||||
href: "tel:9075198577"
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
|
||||
16
data/footer.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
enable: true
|
||||
links:
|
||||
- name: About
|
||||
href: "/about/"
|
||||
- name: Support
|
||||
href: "/contact?topic=support"
|
||||
- name: Contact Us
|
||||
href: "/contact"
|
||||
- name: Terms
|
||||
href: "/terms/"
|
||||
- name: Privacy Policy
|
||||
href: "/privacy/"
|
||||
- name: Cookie Policy
|
||||
href: "/cookies/"
|
||||
- name: "(907) 519-8577"
|
||||
href: "tel:9075198577"
|
||||
12
data/navbar.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
enable: true
|
||||
links:
|
||||
- name: Home
|
||||
link: /
|
||||
- name: Rates
|
||||
link: /rates/
|
||||
- name: Contact
|
||||
link: /contact/
|
||||
- name: About Us
|
||||
link: /about/
|
||||
- name: "(907) 519-8577"
|
||||
phone: 19075198577
|
||||
@@ -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
|
||||
|
||||
|
Before Width: | Height: | Size: 553 KiB |
|
Before Width: | Height: | Size: 547 KiB |
|
Before Width: | Height: | Size: 680 KiB |
|
Before Width: | Height: | Size: 395 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 388 KiB |
|
Before Width: | Height: | Size: 553 KiB |
|
Before Width: | Height: | Size: 521 KiB |
|
Before Width: | Height: | Size: 476 KiB |
|
Before Width: | Height: | Size: 366 KiB |
|
Before Width: | Height: | Size: 295 KiB |
|
Before Width: | Height: | Size: 318 KiB |