aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-08-27 11:50:46 +0200
committerOscar Najera <hi@oscarnajera.com>2023-08-27 11:51:11 +0200
commita0e572976134fc06e30dfacaebb7bac9eb2cbd86 (patch)
treea3248032de4270e922e15aa9296f9141e5eba6e6 /layouts
parent57e26d78e54b3b9dca36956dde90f2f2ea48a227 (diff)
downloadhugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.tar.gz
hugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.tar.bz2
hugo-minimalist-theme-a0e572976134fc06e30dfacaebb7bac9eb2cbd86.zip
Remove content alternating background stripe
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/hero.html4
-rw-r--r--layouts/partials/open_section.html10
5 files changed, 8 insertions, 14 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index a1f0f08..5c60b97 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -2,9 +2,7 @@
{{ partial "open_section.html" . }}
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
-<div class="stripe-dark">
- {{ partial "post.html" . }}
-</div>
+{{ partial "post.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index f84fa28..8199e84 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,9 +6,7 @@
{{ partial "open_section.html" . }}
{{ range first .Params.index_show .Pages.ByPublishDate.Reverse }}
- <div class="stripe-dark">
{{ partial "post.html" . }}
- </div>
{{ end }}
<div class="tc pa3">
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a9e1474..e781e63 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
<footer class="bg-black">
- <div class="w-100 ph3 pv3 tc">
+ <div class="w-100 ph3 pv3 tc near-white">
{{ with .Site.GetPage "footer.md" }}
{{ .Content }}
{{ end }}
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index cdbccdf..263bb03 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -1,7 +1,7 @@
<div style="background: linear-gradient( rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5) ), url('{{ .Params.image }}'); background-position: center;"
class="bg-center pv5" >
- <div class="mw7 center ph2">
- <h1 class="f1 tc title berkshire-swash near-white">{{ .Title }}</h1>
+ <div class="mw7 center ph2 near-white">
+ <h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1>
{{ .Content }}
</div>
</div>
diff --git a/layouts/partials/open_section.html b/layouts/partials/open_section.html
index f58cdf9..805d802 100644
--- a/layouts/partials/open_section.html
+++ b/layouts/partials/open_section.html
@@ -1,9 +1,7 @@
-<div class="stripe-dark">
- <div class="mw7 center pa2">
- <h2 class="baskerville f2 lh-title">{{ .Title }}</h2>
+<div class="mw7 center pa2">
+ <h2 class="baskerville f2 lh-title">{{ .Title }}</h2>
- <div class="main-content lh-copy">
- {{ .Content }}
- </div>
+ <div class="main-content lh-copy">
+ {{ .Content }}
</div>
</div>