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 }}');">
|
||||
<a href="{{ $.Site.BaseURL }}" class="footer-link">
|
||||
{{ with resources.Get "icons/home_button.jpg" }}
|
||||
<img class="footer-home-icon" src="{{ .Permalink }}" alt="Home">
|
||||
{{ with resources.GetMatch .Site.Params.homeimg -}}
|
||||
{{ $homeButton := .Resize "544x Lanczos" }}
|
||||
<img class="footer-home-icon" src="{{ $homeButton.Permalink }}" alt="Home">
|
||||
{{ end }}
|
||||
</a>
|
||||
{{ if isset $.Site.Params "facebook"}}
|
||||
|
||||
Reference in New Issue
Block a user