From 5c8c5ba97b10a4a385dcfee38a6ab9e38e2fda2c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 5 Jun 2022 22:42:49 +0200 Subject: Add missed layout for single page --- layouts/_default/single.html | 2 +- layouts/page/single.html | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 layouts/page/single.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6be2a68..f327cbc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} {{- $postType := .Type | lower | singularize -}} -
+

{{ .Params.caption | default .Title }} diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..cb2faba --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,14 @@ +{{ define "main" }} +{{- $postType := .Type | lower | singularize -}} +
+
+

+ {{ .Params.caption | default .Title }} +

+
+ +
+ {{ .Content }} +
+
+{{ end }} -- cgit v1.2.3