Move style tags to SCSS

This commit is contained in:
2023-11-06 16:58:53 +00:00
parent d11d328eda
commit 6b590b28a2
5 changed files with 20 additions and 10 deletions

View File

@@ -12,7 +12,7 @@
{{ block "hero" . }}
<section id="hero">
{{ $img := resources.Get "/images/hero-bg.jpg" }}
{{ $img := resources.Get (default "/images/hero-bg.jpg" .Params.hero_image) }}
{{ $img = $img.Resize "1256x jpg" }}
<div class="hero is-medium" style="background-image: linear-gradient(-249deg, #53071b, #d41246), url({{ $img.RelPermalink }});">
<div class="hero-body">