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/404.html | 12 ++++++------ 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 +++++----- layouts/index.html | 6 +++--- layouts/partials/attribution.html | 8 ++++---- layouts/partials/author_card.html | 10 +++++----- layouts/partials/footer.html | 14 +++++++------- layouts/partials/head.html | 15 ++++++++++++++- layouts/partials/header.html | 20 +++++++++----------- layouts/partials/hero.html | 20 ++++++++++++-------- layouts/partials/leading_image.html | 4 ++-- layouts/partials/meta_links.html | 2 +- layouts/partials/metadata.html | 12 ++++++------ layouts/partials/pagination.html | 8 ++++---- layouts/partials/post.html | 10 +++++----- layouts/partials/post_pager.html | 4 ++-- layouts/partials/social_links.html | 2 +- layouts/project/single.html | 16 ++++++++-------- layouts/taxonomy/terms.html | 18 +++++++++--------- 22 files changed, 116 insertions(+), 101 deletions(-) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 1b3bacc..0e11279 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -2,7 +2,7 @@ {{ end }} {{ define "main" }} -
+

{{ .Title }}

{{ T "maybe_look" }}

@@ -13,24 +13,24 @@

{{ T "recent_pages" }}

{{ end }} - +

{{ T "try_search" }} 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" }}