Bladeren bron

Add id for cta section.

tags/v1.0.0
halliday 4 jaren geleden
bovenliggende
commit
e09525c969
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      layouts/partials/cta.html

+ 2
- 2
layouts/partials/cta.html Bestand weergeven

@@ -3,7 +3,7 @@
{{ if $data.cta.cta.enable}}
{{ with $data.cta.cta}}
{{"<!-- Start Call To Action -->" | safeHTML}}
<section class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<section id="cta" class="call-to-action section-sm bg-1 overly" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<!-- this image is for trigger this section fallback background image -->
<img style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" src="{{ .bg_image_webp | absURL }}" />
<div class="container">
@@ -22,4 +22,4 @@
</section>
{{"<!-- Start Services Section -->" | safeHTML}}
{{ end }}
{{ end }}
{{ end }}

Laden…
Annuleren
Opslaan