move home_button to config.toml homeimg
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
|
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
|
||||||
<a href="{{ $.Site.BaseURL }}" class="footer-link">
|
<a href="{{ $.Site.BaseURL }}" class="footer-link">
|
||||||
{{ with resources.Get "icons/home_button.jpg" }}
|
{{ with resources.GetMatch .Site.Params.homeimg -}}
|
||||||
<img class="footer-home-icon" src="{{ .Permalink }}" alt="Home">
|
{{ $homeButton := .Resize "544x Lanczos" }}
|
||||||
|
<img class="footer-home-icon" src="{{ $homeButton.Permalink }}" alt="Home">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ if isset $.Site.Params "facebook"}}
|
{{ if isset $.Site.Params "facebook"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user