🎉 Hello World

This commit is contained in:
2020-03-03 18:56:59 +01:00
commit 94877013bd
55 changed files with 1479 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{{- define "main" -}}
{{- $paginator := .Paginator -}}
{{- $title := T .Title -}}
{{- if not $title -}}
{{- $title = .Title -}}
{{- end -}}
{{ if false }}
<section class="article header"><h1>{{- $title -}}</h1></section>
{{- if .Content -}}
<article class="article markdown-body">
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{- .Content -}}
</article>
{{- end -}}
{{- end -}}
<!-- Ranges through content/posts/*.md -->
{{- partial "note-list.html" $paginator -}}
{{- partial "pagination.html" $paginator -}}
{{- end -}}