You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ozgurkon-theme-hugo/layouts/shortcodes/jumbo.html

19 lines
644 B

{{ $_hugo_config := `{ "version": 1 }` }}
{{ $imgLabel := .Get "imgLabel" }}
{{ $logo := .Site.Params.logos.jumbo }}
<div class="jumbo">
<div class="jumbo-cover" style="background-image: url('{{ .Get "img" }}')" {{ if $imgLabel }}aria-label="{{ $imgLabel }}"{{ end }}></div>
<img id="jumbo-img" src="{{ .Get "img" }}" />
<div id="jumbo-overlay"></div>
<div class="inner-wrapper">
{{ if $logo }}
<img class="jumbo-logo" src="{{ $logo }}" alt="logo {{ .Site.Title }}">
{{ end }}
<div class="inner">
{{ .Inner }}
</div>
</div>
<div class="scroll-down" aria-hidden="true">
{{ partial "icon.html" "scroll-down" }}
</div>
</div>