diff --git a/layouts/blog/list.html b/layouts/blog/list.html new file mode 100644 index 0000000..917ca38 --- /dev/null +++ b/layouts/blog/list.html @@ -0,0 +1,15 @@ +{{ define "main" -}} + +{{- end }} diff --git a/layouts/blog/single.html b/layouts/blog/single.html new file mode 100644 index 0000000..384a538 --- /dev/null +++ b/layouts/blog/single.html @@ -0,0 +1,29 @@ +{{ define "main" -}} +
+

{{ .Title }}

+ {{ with .Params.tagline }}{{ . }}{{ end }} + + {{ if ne .Type "page" -}} +
+ +
+ {{- end }} + +
+ {{ .Content }} +
+ + {{ partial "tags.html" . }} + + {{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}} + {{ partial "share.html" . }} + {{- end }} + + {{ if (and .Site.Config.Services.Disqus.Shortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}} +
+

Comments

+ {{ template "_internal/disqus.html" . }} +
+ {{- end }} +
+{{- end }} diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html new file mode 100644 index 0000000..7794071 --- /dev/null +++ b/layouts/recipes/list.html @@ -0,0 +1,12 @@ +{{ define "main" -}} + +{{- end }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html new file mode 100644 index 0000000..b034420 --- /dev/null +++ b/layouts/recipes/single.html @@ -0,0 +1,24 @@ +{{ define "main" -}} +
+

{{ .Title }}

+ {{ with .Params.tagline }}{{ . }}{{ end }} + + +
+ {{ .Content }} +
+ + {{ partial "tags.html" . }} + + {{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}} + {{ partial "share.html" . }} + {{- end }} + + {{ if (and .Site.Config.Services.Disqus.Shortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}} +
+

Comments

+ {{ template "_internal/disqus.html" . }} +
+ {{- end }} +
+{{- end }}