'NO MATCHING PARTIAL' is hidden under the navbar, unless <header.html> is printed before. It seems to be no problem moving its insertion frome <post.html> and <page.html> to <single.html>, so that it is always shown.

This commit is contained in:
1138-4EB 2017-02-06 11:19:03 +01:00
parent ecb7e949e7
commit da29c99fdc
3 changed files with 2 additions and 4 deletions

View File

@ -9,6 +9,8 @@
<div role="main" class="container main-content">
{{ partial "header.html" . }}
{{ if eq .Type "post" }}
{{ partial "post.html" . }}
{{ else if eq .Type "page" }}

View File

@ -1,5 +1,3 @@
{{ partial "header.html" . }}
<div class="container" role="main">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">

View File

@ -1,5 +1,3 @@
{{ partial "header.html" . }}
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">