Add main menu, basic layout
This commit is contained in:
12
themes/kosmos-22/layouts/_default/section.html
Normal file
12
themes/kosmos-22/layouts/_default/section.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<div class="w-full h-32 bg-[url('/img/lagoon-close-02.jpg')]
|
||||
bg-[center_top_30rem] bg-cover">
|
||||
</div>
|
||||
<div class="max-w-5xl mx-auto -mt-12 py-8 px-8 text-left bg-white">
|
||||
<header class="mb-8">
|
||||
<h2 class="text-2xl font-bold">{{ .Title }}</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user