Skip to content

Commit

Permalink
Center header content if no home_image is used
Browse files Browse the repository at this point in the history
  • Loading branch information
m-hofmann committed May 1, 2023
1 parent 73f97d5 commit 37809c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
/>
</a>
</div>
<div class="col-sm-8 col-12 text-sm-left text-center">
{{ else }}
<div class="col-sm col-12 text-center">
{{ end }}
<div class="col-sm col-12 text-sm-left text-center">
<h2 class="m-0 mb-2 mt-4">
<a href="/" class="text-decoration-none">
{{ if isset .Site.Params "header_title" }}
Expand Down

0 comments on commit 37809c0

Please sign in to comment.