Kaynağa Gözat

Merge pull request #125 from djagoo/resize-logo

resize logo to allow higher resolutions for hidpi displays
tags/v1.0.0
Evan 4 yıl önce
ebeveyn
işleme
1f35daa24a
No account linked to committer's email address

+ 1
- 1
layouts/partials/footer.html Dosyayı Görüntüle

@@ -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>

+ 1
- 1
layouts/partials/navigation.html Dosyayı Görüntüle

@@ -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 }}

Loading…
İptal
Kaydet