First commit of the theme

This commit is contained in:
Gregory Trolliet 2020-04-27 16:49:21 +02:00
commit 360f7ecd96
24 changed files with 525 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="fr">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}
</body>
</html>

View file

View file

@ -0,0 +1,14 @@
{{ define "main" }}
<article class="post">
<header class="post_header">
<h1 class="post_title">{{ .Title }}</h1>
{{ if .Description }}
<p class="post_subtitle">{{ .Description }}</p>
{{ end }}
</header>
<main class="post_body">
{{ .Content }}
</main>
</article>
{{ end }}