aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 38c4c28..b16d254 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,5 @@
-{{ define "main" }} {{ if eq .Type "blog" }} {{ if not .Params.menu }}
-<h1>{{ .Title }}</h1>
-{{ end }} {{ end }}
+{{ define "main" }}
+<header>{{- partial "header.html" . -}}</header>
<article class="h-entry">
<h1 class="post-title p-name"><a href="{{ .RelPermalink }}" style="color:#222222;">{{ .Title }}</a></h1>