change for lugo changes

pull/858/head^2
Luke Smith 2 years ago
parent ab7d3697cc
commit 70061cb0a3

@ -1,6 +1,7 @@
--- ---
title: "🍲 Based Cooking 🍳" title: "🍲 Based Cooking 🍳"
description: 'The fast-loading recipe site with cooking only and no ads.' description: 'The fast-loading recipe site with cooking only and no ads.'
layout: single
--- ---
## What do you want to cook? ## What do you want to cook?

@ -1,9 +1,8 @@
{{ partial "header.html" . }} {{ define "title" }}
{{ .Title }}
<header><h1>{{ .Title }}</h1></header> {{ end }}
{{ define "main" }}
{{ .Content }} {{ .Content }}
{{ $author := index .Site.Data.authors (.Params.author | default "default") }} {{ $author := index .Site.Data.authors (.Params.author | default "default") }}
{{- if $author -}} {{- if $author -}}
<h2>Contributor(s)</h2> <h2>Contributor(s)</h2>
@ -29,5 +28,4 @@
</li> </li>
</ul> </ul>
{{- end -}} {{- end -}}
{{ end }}
{{ partial "footer.html" . }}

@ -1,6 +0,0 @@
{{ partial "header.html" . -}}
<header><h1>{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}</h1></header>
<article>
{{ .Content }}
</article>
{{ partial "footer.html" . }}
Loading…
Cancel
Save