Quellcode durchsuchen

Add id for cta section.

tags/v1.0.0
halliday vor 4 Jahren
Ursprung
Commit
e09525c969
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      layouts/partials/cta.html

+ 2
- 2
layouts/partials/cta.html Datei anzeigen

@@ -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…
Abbrechen
Speichern