Initial commit

This commit is contained in:
2023-11-05 12:12:07 +00:00
commit 4db9a3fc16
130 changed files with 3504 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{ partial "head.html" . }}
</head>
<body id="top" class="">
<section id="header" class="">
{{ partial "header.html" . }}
</section>
{{ block "hero" . }}
<section id="hero">
<div class="hero is-medium" style="background-image: linear-gradient(-249deg, black, white), url({{ default "/images/hero-bg.jpg" .Params.hero_bg_image}});">
<div class="hero-body">
<div class="container">
{{ block "hero-content" . }}
<div class="columns _is-centered is-vcentered has-text-white has-text-centered-mobile">
<div class="column is-full-tablet _is-offset-one-quarter-tablet is-half-desktop">
<h1 class="title is-1 has-text-white">{{ block "title" . }}{{ end }}</h1>
<p class="subtitle has-text-white">{{ block "subtitle" . }}{{ end }}</p>
<p></p>
<p></p>
</div>
</div>
{{ end }}
</div>
</div>
</div>
</section>
{{ end }}
<section class="section">
<div class="container content">
{{ block "content" .}}
{{ end }}
</div>
</section>
{{ block "cta" . }}
{{ partial "design/cta.html" . }}
{{ end }}
{{ partial "footer.html" .}}
<script src="/js/simplebox.min.js"></script>
<script src="/js/site.js"></script>
</body>
</html>

View File

@@ -0,0 +1,28 @@
{{ define "title" }}
{{ .Title }}
{{ end }}
{{ define "subtitle" }}
{{ .Params.subtitle }}
{{ end }}
{{ define "content" }}
{{ .Content }}
{{- range .Data.Pages.GroupByDate "2006" }}
<div class="posts-group">
<h3 id="{{ .Key }}">{{ .Key }}
</div>
<ul class="posts-list">
{{- range .Pages }}
<li class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
<span class="post-day">{{ .Date.Format "2006-01-01" }}</span>
</a>
</li>
{{- end }}
</ul>
</div>
{{- end }}
{{ end }}

View File

@@ -0,0 +1,11 @@
{{ define "title" }}
{{ .Title }}
{{ end }}
{{ define "subtitle" }}
{{ .Params.subtitle }}
{{ end }}
{{ define "content" }}
{{ .Content }}
{{ end }}