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/_default/author.html | 10 +++++----- layouts/_default/search.html | 24 ++++++++++++++---------- layouts/_default/single.html | 4 ++-- 3 files changed, 21 insertions(+), 17 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/author.html b/layouts/_default/author.html index ad1602f..b2277dd 100644 --- a/layouts/_default/author.html +++ b/layouts/_default/author.html @@ -5,8 +5,8 @@ {{- $sectionDelimiter := "" -}} {{- $rawContentSections := split .RawContent $sectionDelimiter -}} {{ range $rawContentSections }} -
-
+
+
{{ . | markdownify }}
@@ -14,9 +14,9 @@ {{ with where .Pages "Type" "publication" }} {{ if gt (len .) 0 }} -
-
-

Publications

+
+
+

Publications

{{ range . }} {{ partial "post.html" . }} {{ end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 726ae68..e61c9a0 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -1,8 +1,8 @@ {{ define "main" }}
-

- {{ T "search" }} +

+ {{ T "search" | humanize }}

@@ -11,26 +11,30 @@ id="search-query" name="q" placeholder="{{ T "search_placeholder" }}" - class="near-black p-2 w-100" + class="p-2 w-full border" />
-

{{ T "search_request" }}

+

+ {{ T "search_request" }} +

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 66f67ea..bdb5482 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }}
-

+

{{ .Title }}

@@ -15,7 +15,7 @@ {{ partial "leading_image.html" . }}
-
+
{{ .Content }}
{{ partial "image-gallery" . }} -- cgit v1.2.3