Initial commit: Fat Kiss site — Hugo + Decap CMS
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
{{ partial "seo.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#main-content" class="skip-link">Skip to main content</a>
|
||||
{{ partial "header.html" . }}
|
||||
<main id="main-content">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ $js := resources.Get "js/main.js" | minify | fingerprint }}
|
||||
<script src="{{ $js.RelPermalink }}" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div class="grid-3" style="margin-top:var(--fk-space-xl)">
|
||||
{{ range .Pages }}
|
||||
{{ partial "product-card.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -0,0 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<article class="page-enter">
|
||||
<section class="section">
|
||||
<div class="container container--narrow">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div class="section__body" style="margin-top:var(--fk-space-lg)">{{ .Content }}</div>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user