From ecb7569b3c047f6e6845f8a49f6eee3d6762a968 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 6 Jan 2025 03:01:15 +0100 Subject: transfer so partial and defaults --- layouts/project/single.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'layouts/project/single.html') diff --git a/layouts/project/single.html b/layouts/project/single.html index a177a10..a83b79f 100644 --- a/layouts/project/single.html +++ b/layouts/project/single.html @@ -1,11 +1,11 @@ {{- define "main" -}}
-

+

{{ .Title }} -

+ {{ with .Params.subtitle }} -

{{ . }}

+

{{ . }}

{{ end }} {{ partial "meta_links.html" . }} @@ -22,7 +22,7 @@ {{ $items := where (where site.RegularPages "Type" "post") ".Params.projects" "intersect" (slice $project) }} {{ $count := len $items }} {{ if ge $count 1 }} -

Related Posts

+

Related Posts

{{ range $index, $item := $items }} {{ partial "post.html" . }} {{ end }} @@ -31,7 +31,7 @@ {{ $items := where (where site.RegularPages "Type" "publication") ".Params.projects" "intersect" (slice $project) }} {{ $pubs_len := len $items }} {{ if ge $pubs_len 1 }} -

Related Publications

+

Related Publications

{{ range $index, $item := $items }} {{ partial "post.html" . }} {{ end }} @@ -40,7 +40,7 @@ {{ $items := where (where site.RegularPages "Type" "event") ".Params.projects" "intersect" (slice $project) }} {{ $talks_len := len $items }} {{ if ge $talks_len 1 }} -

Related Talks

+

Related Talks

{{ range $index, $item := $items }} {{ partial "post.html" . }} {{ end }} -- cgit v1.2.3