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

github.com/Vimux/mainroad.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimux <vimux@protonmail.com>2021-12-29 18:27:15 +0300
committervimux <vimux@protonmail.com>2021-12-29 18:27:15 +0300
commit50b32bd106767aa9f4f70139091e03fac843aee5 (patch)
tree9c427c58bb2b2bcd1b478b7d785dd93e51577ba1
parentd73b9dc34cdbc030d2db56fb5fb6210ffc252286 (diff)
Update baseof template: wrap partials into blocks
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f4d4b6d..ec4b96d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -46,7 +46,7 @@
</head>
<body class="body">
<div class="container container--outer">
- {{ partial "header" . }}
+ {{ block "header" . }}{{ partial "header.html" . }}{{ end }}
<div class="wrapper flex">
<div class="primary">
{{ block "main" . }}
@@ -57,9 +57,9 @@
{{ end }}
{{ end }}
</div>
- {{ partial "sidebar.html" . }}
+ {{ block "sidebar" . }}{{ partial "sidebar.html" . }}{{ end }}
</div>
- {{ partial "footer" . }}
+ {{ block "footer" . }}{{ partial "footer.html" . }}{{ end }}
</div>
<script async defer src="{{ "js/menu.js" | relURL }}"></script>
{{ range .Site.Params.customJS -}}