Skip to content

Commit ea7e9a6

Browse files
committed
Make home image optional
1 parent e2dd05e commit ea7e9a6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

layouts/partials/header.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<header class="container mt-sm-5 mt-4 mb-4 mt-xs-1">
22
<div class="row">
3+
{{ if isset .Site.Params "home_image" }}
34
<div class="col-sm-4 col-12 text-sm-right text-center pt-sm-4">
45
<a href="/" class="text-decoration-none">
56
<img id="home-image" class="rounded-circle"
@@ -15,6 +16,7 @@
1516
/>
1617
</a>
1718
</div>
19+
{{ end }}
1820
<div class="col-sm-8 col-12 text-sm-left text-center">
1921
<h2 class="m-0 mb-2 mt-4">
2022
<a href="/" class="text-decoration-none">

0 commit comments

Comments
 (0)