diff options
author | vimux <vimux@protonmail.com> | 2021-12-29 18:27:15 +0300 |
---|---|---|
committer | vimux <vimux@protonmail.com> | 2021-12-29 18:27:15 +0300 |
commit | 50b32bd106767aa9f4f70139091e03fac843aee5 (patch) | |
tree | 9c427c58bb2b2bcd1b478b7d785dd93e51577ba1 | |
parent | d73b9dc34cdbc030d2db56fb5fb6210ffc252286 (diff) |
Update baseof template: wrap partials into blocks
-rw-r--r-- | layouts/_default/baseof.html | 6 |
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 -}} |