mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Add Privacy Terms and Conditions and Cookie Policy
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
{{ end }}
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if ( .Site.Params.footer.enable ) }}
|
||||
{{ partial "footer/main" . }}
|
||||
{{ end }}
|
||||
{{ partial "scripts" . }}
|
||||
</body>
|
||||
</html>
|
||||
@@ -9,8 +9,6 @@
|
||||
{{ end }}
|
||||
{{ partial "rates/rates" . }}
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</main>
|
||||
{{ if ( .Site.Params.footer.enable ) }}
|
||||
{{ partial "footer/main" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -3,7 +3,5 @@
|
||||
<main class="w-full antialiased">
|
||||
{{ .Content }}
|
||||
</main>
|
||||
|
||||
{{ if .Params.footer }} {{ partial "footer" . }} {{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
8
layouts/_default/page.html
Normal file
8
layouts/_default/page.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<section class="container mx-auto px-4 pt-20 py-8">
|
||||
<article class="format lg:format-lg dark:format-invert">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
29
layouts/_default/terms.html
Normal file
29
layouts/_default/terms.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{{ define "main" }}
|
||||
<section class="px-4 pt-20 pb-4 dark:bg-gray-900">
|
||||
<div class="flex justify-center flex-wrap w-full mx-auto">
|
||||
<div class="px-4 format dark:format-invert text-center">
|
||||
<h3>
|
||||
<a href="/terms">Terms and Conditions</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="px-4 format dark:format-invert text-center max-w-xs">
|
||||
<h3>
|
||||
<a href="/privacy">Privacy Policy</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="px-4 format dark:format-invert text-center max-w-xs">
|
||||
<h3>
|
||||
<a href="/cookies">Cookie Policy</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="container mx-auto px-4 py-8">
|
||||
|
||||
<article class="format lg:format-lg dark:format-invert mx-auto">
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -15,11 +15,5 @@
|
||||
{{ if ( .Page.Params.enable.about ) }}
|
||||
{{ partial "about.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ with .Page.Params.footer }}
|
||||
{{ if ( .enable ) }}
|
||||
{{ partial "footer/full" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ end }}
|
||||
@@ -1,2 +1,3 @@
|
||||
<script src="{{ .Site.BaseURL }}/js/app.bundle.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/vendors.bundle.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/vendors.bundle.js"></script>
|
||||
<script defer data-domain="beardedtek.com" src="https://plausible.beardedtek.org/js/script.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user