Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzilch40 <wlh233@live.com>2020-11-16 15:31:39 +0300
committerzilch40 <wlh233@live.com>2020-11-16 15:31:39 +0300
commit871470c4cd13a02e947680864574a84eae246cf0 (patch)
tree8414d26b020681fa0b05384c28bccc08d69e4e4b /layouts/index.html
parent88fb497815279a64bbfe38e7cdd1676a2b683b77 (diff)
add PWA support && tweak some pages
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ca7abab..62f5e5d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1 +1,4 @@
-{{ with .GetPage "/post" }}{{.Render}}{{end}}
+{{ define "main" }}
+{{- partial "header.html" . -}}
+{{- partial "posts.html" . -}}
+{{ end }}