Skip to content

Commit

Permalink
fix: logo size in footer
Browse files Browse the repository at this point in the history
Signed-off-by: Roald Nefs <[email protected]>
  • Loading branch information
roaldnefs committed Dec 7, 2024
1 parent 29f157d commit acf6881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
10 changes: 1 addition & 9 deletions layouts/partials/site-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,14 @@
<div class="row">
<div class="col-lg-3 mb-3">
<a class="d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href="{{ .Site.BaseURL }}">
<img src="{{ "images/logo.png" | absURL }}" alt="{{ .Site.Title }}" class="img-fluid">
<img src="{{ "images/logo.png" | absURL }}" alt="{{ .Site.Title }}" class="img-fluid footer-logo">
</a>
<ul class="list-unstyled small text-muted">
<li class="mb-2">{{ .Site.Params.slogan }}</li>
<li class="mb-2">&copy; 2024 {{ .Site.Title }}. All rights reserved.</li>
</ul>
</div>
{{ if .Site.Menus.main }}
<div class="col-6 col-lg-2 offset-lg-1 mb-3">
<h5>Links</h5>
<ul class="list-unstyled">
{{ range .Site.Menus.main }}
<li class="mb-2"><a href="{{ .URL | absURL }}" class="link-dark text-decoration-none">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions scss/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.footer-logo {
max-width: 250px;
}
2 changes: 1 addition & 1 deletion static/css/theme.min.css

Large diffs are not rendered by default.

0 comments on commit acf6881

Please sign in to comment.