aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/hero.html
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-01-01 21:03:20 +0100
committerÓscar Nájera <hi@oscarnajera.com>2022-01-01 21:03:20 +0100
commit113d4e53416ddf42212da6f217670bdc6f0c9dd8 (patch)
tree7e9bcd4a2a274e45da5538fe67c525dfb36680de /layouts/partials/hero.html
parente34ded01904b07456a48cf28f1a5a2d2d77a0be7 (diff)
downloadhugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.gz
hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.bz2
hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.zip
Import new minimalist design
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r--layouts/partials/hero.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
new file mode 100644
index 0000000..7345fe9
--- /dev/null
+++ b/layouts/partials/hero.html
@@ -0,0 +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">{{ .Title }}</h1>
+ {{ .Content }}
+ </div>
+</div>