mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Fix those nasty compilation errors
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
|
||||
<body class="{{ if .Params.white_bg }}bg-white dark:bg-gray-900{{ else }}bg-gray-50 dark:bg-gray-800{{ end }}">{{ end }}
|
||||
{{ partial "skippy" . }}
|
||||
{{ partial "nav/main" . }}
|
||||
{{ if .Site.Params.navbar.enable }}
|
||||
{{ partial "nav/main" . }}
|
||||
{{ end }}
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -13,16 +13,14 @@
|
||||
{{ end }}
|
||||
{{ with .Page.Params.pricing }}
|
||||
{{ if ( .enable ) }}
|
||||
{{ with .heading }}
|
||||
{{ if ( .enable ) }}
|
||||
{{ partial "pricing/heading" .}}
|
||||
{{ end }}
|
||||
{{ if ( .heading.enable ) }}
|
||||
{{ partial "pricing/heading" .}}
|
||||
{{ end }}
|
||||
{{ partial "pricing/pricing" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ with .Page.Params.footer }}
|
||||
{{ with .Site.Params.footer }}
|
||||
{{ if ( .enable ) }}
|
||||
{{ partial "footer/full" . }}
|
||||
{{ end }}
|
||||
|
||||
@@ -32,15 +32,15 @@
|
||||
</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 := .Page.Params.navbar.items }}
|
||||
<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="{{ .Site.Params.baseURL }}{{ .link }}"
|
||||
target="{{ .target }}">
|
||||
{{ upper .name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ 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}}">
|
||||
{{ .name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
{{ if ( .standalone ) }}
|
||||
<section class="pt-20">
|
||||
{{ else }}
|
||||
<section class="pt-8">
|
||||
{{ end }}
|
||||
<div class="max-w-screen-xl px-4 mx-auto">
|
||||
<div class="max-w-2xl mx-auto text-center">
|
||||
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl dark:text-white">
|
||||
{{ .title }}
|
||||
{{ .heading.title }}
|
||||
</h2>
|
||||
<p class="mt-4 text-base text-gray-500 sm:text-xl dark:text-gray-500">
|
||||
{{ .text}}
|
||||
{{ .heading.text}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<section class="pt-6 pb-6">
|
||||
<div class="grid gap-8 md:grid-cols-2 xl:grid-cols-3">
|
||||
<div class="grid gap-8 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
|
||||
{{ range $index, $element := .items }}
|
||||
<!-- Pricing Card -->
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user