diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-07-11 12:00:45 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-07-11 12:00:45 -0400 |
| commit | 3ee89967cbb087de3541126f15db9a920d02ad68 (patch) | |
| tree | 2e87d6a39ea380e8b112a86cc66a7922f36da89b /layouts | |
| parent | 09bf01a0d2e911fed4dc5aa12d6534ef0c6888a6 (diff) | |
own single layout
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..5069e98 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ partial "header.html" . }} +<header><h1>{{ with .Params.icon }}<img src="/pix/{{ . }}" class=titleicon>{{ end }}{{ .Title }}</h1></header> +<article>{{ with .Params.img }}<img src="/pix/{{ . }}" class=titleimg>{{ end }} +{{ .Content }} +</article> +{{ partial "footer.html" . }} |
