add blog and recipe layouts
This commit is contained in:
parent
28a0467135
commit
7016e2a4f7
4 changed files with 80 additions and 0 deletions
12
layouts/recipes/list.html
Normal file
12
layouts/recipes/list.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{ define "main" -}}
|
||||
<ul class="posts">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Data.Pages.ByTitle -}}
|
||||
<li>
|
||||
<div class="flex">
|
||||
<a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue