Initial commit for Hugo site.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{{ define "main" -}}
|
||||
{{ if .Site.Params.light_dark }}
|
||||
{{ partial "light_dark.html" . }}
|
||||
{{ end }}
|
||||
<div class="post">
|
||||
{{ with .Site.GetPage "/about" }}
|
||||
{{ if .Pages }}
|
||||
{{ range .Pages }}
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if (.Site.Params.listmonk) }}
|
||||
{{ partial "post/listmonk_email_newsletters.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user