From 4b76a856b2841fb197acc982ed168bc52db6ea3d Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 5 Jan 2025 23:44:45 +0100 Subject: add tailwind and do some replacements --- layouts/project/single.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'layouts/project') diff --git a/layouts/project/single.html b/layouts/project/single.html index eacb6d1..c48a2cf 100644 --- a/layouts/project/single.html +++ b/layouts/project/single.html @@ -1,28 +1,28 @@ {{- define "main" -}} -
-

+
+

{{ .Title }}

{{ with .Params.subtitle }} -

{{ . }}

+

{{ . }}

{{ end }} {{ partial "meta_links.html" . }} {{ partial "leading_image.html" . }}
-
+
{{ .Content }}
-
+
{{ $page := . }} {{ $project := .File.ContentBaseName }} {{ $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