瀏覽代碼

Merge pull request #90 from hoangelos/master

Add id for cta section.
tags/v1.0.0
Mehedi Sharif Titas 4 年之前
父節點
當前提交
9c4b415b72
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      layouts/partials/cta.html

+ 2
- 2
layouts/partials/cta.html 查看文件

@@ -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 }}

Loading…
取消
儲存