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 🍳" 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?

View File

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

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" . }}