diff --git a/layouts/_default/content.html b/layouts/_default/content.html index 5d17305..0492fd0 100644 --- a/layouts/_default/content.html +++ b/layouts/_default/content.html @@ -1,4 +1,4 @@ {{ $dateFormat := default "02-01-2006 15:04" (index .Site.Params "date_format") }} -

{{ .Title | markdownify }}{{ if not .Date.IsZero }} {{ .Date.Format $dateFormat }}{{ end }}

+

{{ .Title | markdownify }}{{ if not .Date.IsZero }} {{ .Date.Format $dateFormat }}{{ end }}

{{ .Content }} diff --git a/layouts/index.html b/layouts/index.html index 23daa08..ae73980 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,6 @@ {{ define "main" }} -

{{ .Site.Title }}

+

{{ .Site.Title }}

+
{{ block "news" . }}