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/_default/author.html | 4 ++-- layouts/_default/baseof.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/search.html | 18 +++++++++--------- layouts/_default/single.html | 10 +++++----- 5 files changed, 18 insertions(+), 18 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/author.html b/layouts/_default/author.html index a0bb1fa..ad1602f 100644 --- a/layouts/_default/author.html +++ b/layouts/_default/author.html @@ -6,7 +6,7 @@ {{- $rawContentSections := split .RawContent $sectionDelimiter -}} {{ range $rawContentSections }}
-
+
{{ . | markdownify }}
@@ -15,7 +15,7 @@ {{ with where .Pages "Type" "publication" }} {{ if gt (len .) 0 }}
-
+

Publications

{{ range . }} {{ partial "post.html" . }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4570a3d..ffdabc9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{- partial "header.html" . -}} {{ block "hero" . }}{{ end }} -
+
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d653b32..0eeb8c7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{ end }} {{ define "main" }} -
+
{{ range .Paginator.Pages.ByPublishDate.Reverse }} {{ partial "post.html" . }} {{ end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 41596de..e297398 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -1,7 +1,7 @@ {{ define "main" }} -
+
-

+

{{ T "search" }}

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

{{ T "search_request" }}

+
+

{{ T "search_request" }}