change for lugo changes

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

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

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

@ -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