~arestifo/www

ref: 6f19b71394e0b405f7b379b59bb5b58aa30c1716 www/layouts/bread/single.html -rw-r--r-- 319 bytes
6f19b713Alberto Restifo Add redirect rules 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ define "title" }}{{ .Title}} - Bread recipes | Alberto Restifo{{ end }}

{{ define "main" }}
<article>
  <h1>{{ .Title }}</h1>

  <ul>
    {{ range $ingredient := .Params.ingredients }}
      <li>{{ $ingredient.name }} ({{ $ingredient.quantity }}g)</li>
    {{ end }}
  </ul>

  {{ .Content }}
</article> 
{{ end }}