Skip to content

Commit

Permalink
Merge pull request #125 from djagoo/resize-logo
Browse files Browse the repository at this point in the history
resize logo to allow higher resolutions for hidpi displays
  • Loading branch information
tfsomrat committed Jun 30, 2020
2 parents 9ac7249 + 7276594 commit 1f35daa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{"<!-- copyright -->" | safeHTML}}
<div class="copyright text-center">
<a href="{{ site.Home.Permalink }}">
<img src="{{ site.Params.logo | absURL }}" alt="{{ site.Title }}" />
<img src="{{ site.Params.logo | absURL }}" alt="{{ site.Title }}" height="42" />
</a>
<br>
<p>{{ site.Params.copyright | markdownify }}</p>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<nav class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand p-0" href="{{ .Site.BaseURL | relLangURL }}">
{{ if site.Params.logo }}
<img class="lozad img-fluid" data-src="{{ site.Params.logo | absURL }}" alt="{{ .Site.Title }}">
<img class="lozad" data-src="{{ site.Params.logo | absURL }}" alt="{{ .Site.Title }}" height="42">
{{ else }}
{{ site.Title }}
{{ end }}
Expand Down

0 comments on commit 1f35daa

Please sign in to comment.