change for lugo changes

This commit is contained in:
Luke Smith 2022-09-20 17:11:29 -04:00
parent ab7d3697cc
commit 70061cb0a3
3 changed files with 6 additions and 13 deletions

View File

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

View File

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

View File

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