diff --git a/layouts/index.html b/layouts/index.html index 2f4edd3..e00daea 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,6 @@ {{ partial "head.html" . }} {{ partial "header.html" . }} -{{ partial "page_content.html" . }} +{{ partial "about.html" . }} +{{ partial "services.html" . }} {{ partial "contact.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/partials/page_content.html b/layouts/partials/services.html similarity index 97% rename from layouts/partials/page_content.html rename to layouts/partials/services.html index ce89662..426dc6a 100644 --- a/layouts/partials/page_content.html +++ b/layouts/partials/services.html @@ -1,5 +1,7 @@ +
+ - {{ range $index, $element := .Data.Pages }}{{ if eq .Section "post" }} + {{ range $index, $element := .Data.Pages }}{{ if eq .Section "services" }} {{ if modBool $index 2 }}
@@ -52,3 +54,5 @@

{{ .Title }}

{{ end }} {{ end }} + +