11{{ define "main" }}
2- < article class ="main ">
3- {{- with .Title }}
4- < header >
5- < h1 class ="!mb-1 "> {{ . }}</ h1 >
6- </ header >
7- {{ end -}}
8- {{- with .Content }}
9- {{ . }}
10- {{ end -}}
11- < p class ="lead " id ="intro-snark "> experienced software engineer, AI/ML everything enthusiast. open to new challenges in my next role.</ p >
12- </ article >
2+ < article class ="main ">
3+ {{- with .Title }}
4+ < header >
5+ < h1 class ="!mb-1 "> {{ . }}</ h1 >
6+ </ header >
7+ {{ end -}}
8+ {{- with .Content }}
9+ {{ . }}
10+ {{ end -}}
11+ < p class ="lead " id ="intro-snark "> software engineer. AI/ML everything builder. < a
12+ href ="https://en.wikipedia.org/wiki/Mensa_International "> My brain needs exercise</ a > ; open to the
13+ toughest engineering roles out there.</ p >
14+ {{/* < p > < em > I go for challenges, like climate change and the Kobayashi Maru.</ em > </ p > */}}
15+ </ article >
1316
14- {{- if default true site.Params.home.showRecentPosts }}
15- {{- $posts := where site.RegularPages "Section" "posts" -}}
16- {{- with $posts.Limit (int (default 3 site.Params.home.recentPostsLimit)) }}
17- < section >
18- < h2 > Recent posts</ h2 >
17+ {{- if default true site.Params.home.showRecentPosts }}
18+ {{- $posts := where site.RegularPages "Section" "posts" -}}
19+ {{- with $posts.Limit (int (default 3 site.Params.home.recentPostsLimit)) }}
20+ < section >
21+ < h2 > Recent posts</ h2 >
1922
20- {{ partial "posts/list.html" . }}
21- </ section >
22- {{ end -}}
23- {{ end -}}
23+ {{ partial "posts/list.html" . }}
24+ </ section >
25+ {{ end -}}
26+ {{ end -}}
2427
25- {{- if default true site.Params.home.showRecentNotes }}
26- {{- $notes := where site.RegularPages "Section" "notes" -}}
27- {{- with $notes.Limit (int (default 5 site.Params.home.recentNotesLimit)) }}
28- < section >
29- < h2 > Recent notes</ h2 >
28+ {{- if default true site.Params.home.showRecentNotes }}
29+ {{- $notes := where site.RegularPages "Section" "notes" -}}
30+ {{- with $notes.Limit (int (default 5 site.Params.home.recentNotesLimit)) }}
31+ < section >
32+ < h2 > Recent notes</ h2 >
3033
31- {{ partial "notes/list.html" . }}
32- </ section >
33- {{ end -}}
34- {{ end -}}
35- {{ end }}
34+ {{ partial "notes/list.html" . }}
35+ </ section >
36+ {{ end -}}
37+ {{ end -}}
38+ {{ end }}
0 commit comments