File tree Expand file tree Collapse file tree 5 files changed +18
-9
lines changed
Expand file tree Collapse file tree 5 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 11---
22title : " In the kitchen"
33rss : true
4+ menu :
5+ main :
6+ weight : 50
47---
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: About
33url : /about/
44menu :
55 main :
6- identifier : about
6+ weight : 10
77---
88
99I’m a software engineer at [ Remitly] ( https://grnh.se/3c4028751 ) , where I’m
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: Projects
33url : /projects/
44menu :
55 main :
6- identifier : projects
6+ weight : 40
77tags : ["apps"]
88---
99
Original file line number Diff line number Diff line change 11---
22title : " Posts"
33rss : true
4+ menu :
5+ main :
6+ weight : 20
47---
Original file line number Diff line number Diff line change 33 < label class ="mobile-toggle-on " for ="menu-toggle "> Menu</ label >
44 < label class ="mobile-toggle-off " for ="menu-toggle "> Close</ label >
55 < ul class ="links ">
6- {{- $currentPage := . }}
7- < li > < a href ="{{ relref . "/" }}" title="Home"> Home</ a > {{ if .IsHome }}< span aria-label ="Active "> ⇐</ span > {{ end }}</ li >
8- {{ range .Site.Menus.main -}}
6+ {{ $currentPage := . }}
7+ < li >
8+ < a href ="{{ relref . "/" }}" title="Home"> Home</ a >
9+ {{ if .IsHome }}< span aria-label ="Active "> ⇐</ span > {{ end }}
10+ </ li >
11+ {{ range .Site.Menus.main }}
912 < li >
1013 < a href ="{{ .URL }} "> {{ .Title }}</ a >
11- {{- if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) - }}
14+ {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
1215 < span aria-label ="active "> ⇐</ span >
13- {{- end - }}
16+ {{ end }}
1417 </ li >
1518 {{ end }}
16- {{ range (( where .Site.Pages "Params.rss" true) | append (where .Site.Pages " Kind" "taxonomyTerm") ) }}
19+ {{ range (where .Site.Pages "Kind" "taxonomyTerm") }}
1720 {{ if ne .Type "pages" }}
1821 < li >
1922 < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a >
20- {{- if eq . $ }}< span aria-label ="active "> ⇐</ span > {{ end - }}
23+ {{ if eq . $ }}< span aria-label ="active "> ⇐</ span > {{ end }}
2124 </ li >
2225 {{ end }}
2326 {{ end }}
You can’t perform that action at this time.
0 commit comments