Move apps into projects section
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 7s
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 7s
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{ $hasToc := and (ne .Params.toc false) (gt (len (findRE "<li>" .TableOfContents)) 0) }}
|
||||
{{ $backHref := "/" | relURL }}
|
||||
{{ $backLabel := "Home" }}
|
||||
{{ if in (slice "apps" "projects" "websites") .Section }}
|
||||
{{ if in (slice "projects" "websites") .Section }}
|
||||
{{ $backHref = "/projects/" | relURL }}
|
||||
{{ $backLabel = "Projects" }}
|
||||
{{ else if eq .Section "publications" }}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
{{- $items := slice -}}
|
||||
{{- range where site.RegularPages "Section" "in" (slice "posts" "projects" "apps") -}}
|
||||
{{- range where site.RegularPages "Section" "in" (slice "posts" "projects") -}}
|
||||
{{- $description := .Description | default (.Summary | plainify) -}}
|
||||
{{- $section := title .Section -}}
|
||||
{{- if eq .Section "apps" }}{{ $section = "Projects" }}{{ end -}}
|
||||
{{- $items = $items | append (dict
|
||||
"title" .Title
|
||||
"link" .Permalink
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
{{ if eq $active "publications" }}
|
||||
{{ partial "publication-list.html" hugo.Data.publications }}
|
||||
{{ else if eq $active "projects" }}
|
||||
{{ partial "page-list.html" (where site.RegularPages "Section" "in" (slice "projects" "apps")) }}
|
||||
{{ partial "page-list.html" (where site.RegularPages "Section" "projects") }}
|
||||
{{ else if eq $active "contact" }}
|
||||
{{ partial "contact-section.html" . }}
|
||||
{{ else }}
|
||||
|
||||
Reference in New Issue
Block a user