Commit 2d5a2bb4 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

include hero inside div

parent 9bf410ad
......@@ -11,6 +11,7 @@ title = "LEAP VPN"
# Hero image (optional). Enter filename of an image in the `static/img/` folder.
hero_media = "hero-image.png"
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
......
......@@ -5,9 +5,9 @@
{{ if $page.Params.hero_media }}
<div class="row">
<div class="col-12 mx-auto col-md-6 order-md-1 hero-media">
</div>
<img src="{{ printf "img/%s" $page.Params.hero_media | relURL }}" alt="">
</div>
</div>
<div class="row mt-4">
<div class="col-md-12 order-md-2 text-center text-md-left">
{{ end }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment