Skip to content

Commit 8d6a46c

Browse files
committed
chore: update layouts to current hugo, clean up entry points
Signed-off-by: Jaime Silvela <[email protected]>
1 parent 43f0cbc commit 8d6a46c

20 files changed

+54
-4
lines changed

content/cards/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
build:
3+
list: never
4+
publishResources: false
5+
render: never
6+
title: Headless page for cards
7+
---

content/footer/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
build:
3+
list: never
4+
publishResources: false
5+
render: never
6+
title: Headless page for footer
7+
---

content/info/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
build:
3+
list: never
4+
publishResources: false
5+
render: never
6+
title: Headless page for info
7+
---
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
<div class="flex gap-3">
33
{{ range . }}
44
<div class="my-auto">
5-
<img src="{{ .RelPermalink }}/{{ .Params.avatar }}" class="w-10 h-10 rounded-full"
6-
alt="{{.LinkTitle}}">
5+
{{ $authorPage := . }}
6+
{{ with .Resources.Get .Params.avatar}}
7+
<img src="{{ .RelPermalink }}" class="w-10 h-10 rounded-full"
8+
alt="{{$authorPage.LinkTitle}}">
9+
{{ end }}
710
</div>
811

912
<div>
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
<div class="flex gap-3">
33
{{ range . }}
44
<div class="my-auto">
5-
<img src="{{ .RelPermalink }}/{{ .Params.avatar }}" class="w-10 h-10 rounded-full"
6-
alt="{{.LinkTitle}}">
5+
{{ $authorPage := . }}
6+
{{ with .Resources.Get .Params.avatar}}
7+
<img src="{{ .RelPermalink }}" class="w-10 h-10 rounded-full"
8+
alt="{{$authorPage.LinkTitle}}">
9+
{{ end }}
710
<h1 class="text-lg charcoal font-bold">
811
{{.Title}}
912
</h1>

0 commit comments

Comments
 (0)