Skip to content

Commit

Permalink
change banner spot
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfdewolf committed Mar 14, 2024
1 parent 4657a58 commit b7b7e38
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions _includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<!-- Nav Bar -->
<nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}" role="navigation">
<div class="container">
{% if site.banner %}
<div class="post">
<img src="/{{site.banner}}" class="banner" alt="Banner Image">
</div>
{% endif %}
{% if site.enable_navbar_social %}
<!-- Social Icons -->
<div class="navbar-brand social">{% include social.liquid %}</div>
Expand Down Expand Up @@ -110,18 +115,4 @@
</div>
</progress>
{% endif %}
{% if site.banner %}
<div class="post">
<img src="/{{site.banner}}" class="banner" alt="Banner Image">
</div>
{% endif %}
<style>
.banner {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
height: auto;
}
</style>
</header>

0 comments on commit b7b7e38

Please sign in to comment.