diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 03:01:15 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 03:01:15 +0100 |
commit | ecb7569b3c047f6e6845f8a49f6eee3d6762a968 (patch) | |
tree | bb891a042c1ae57bb25c71bd739564e07812b6f4 /layouts/project | |
parent | 9dcafb5af5332ba0a5753abf441183417880a739 (diff) | |
download | hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.gz hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.bz2 hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.zip |
transfer so partial and defaults
Diffstat (limited to 'layouts/project')
-rw-r--r-- | layouts/project/single.html | 12 |
1 files changed, 6 insertions, 6 deletions
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" -}} <header class="max-w-screen-md mx-auto"> - <h2 class="baskerville f2 lh-title my-4 px-1"> + <h1 class="baskerville px-1"> {{ .Title }} - </h2> + </h1> {{ with .Params.subtitle }} - <h3 class="text-2xl baskerville my-4 p-1">{{ . }}</h3> + <h3 class="baskerville p-1">{{ . }}</h3> {{ 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 }} - <h2 class="f2 fw3 m-0">Related Posts</h2> + <h2 class="">Related Posts</h2> {{ 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 }} - <h2 class="f2 fw3 m-0">Related Publications</h2> + <h2 class="">Related Publications</h2> {{ 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 }} - <h2 class="f2 fw3 m-0">Related Talks</h2> + <h2 class="">Related Talks</h2> {{ range $index, $item := $items }} {{ partial "post.html" . }} {{ end }} |