single: Update to fix.
This commit is contained in:
parent
dfb358cd03
commit
fca2d4257b
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!-- end featured_image-->
|
<!-- end featured_image-->
|
||||||
|
|
||||||
{{ $reAltIn := "<img src=\"([^\"]+)\" alt=\"([^\"]+)?\" />" }}
|
{{ $reAltIn := "<img src=\"([^\"]+)\" alt=\"([^\"]+)?\">" }}
|
||||||
{{ $reAltOut := ( printf "<figure><img src=\"/images/ring.svg\" data-sizes=\"auto\" data-src=\"%s$1\" alt=\"$2\" class=\"lazyload\"><figcaption class=\"image-caption\">$2</figcaption></figure>" $cdn_url ) }}
|
{{ $reAltOut := ( printf "<figure><img src=\"/images/ring.svg\" data-sizes=\"auto\" data-src=\"%s$1\" alt=\"$2\" class=\"lazyload\"><figcaption class=\"image-caption\">$2</figcaption></figure>" $cdn_url ) }}
|
||||||
{{ $altContent := .Content | replaceRE $reAltIn $reAltOut | safeHTML }}
|
{{ $altContent := .Content | replaceRE $reAltIn $reAltOut | safeHTML }}
|
||||||
|
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
<p class="copyright-item">
|
<p class="copyright-item">
|
||||||
{{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
|
{{ if and ( $.Param "socialShare" ) (gt (len ($.Param "share")) 0) }}
|
||||||
<span>{{ i18n "Share" }}:</span>
|
<span>{{ i18n "Share" }}:</span>
|
||||||
<span>{{ partial "share-links" . }}</span>
|
<span>{{ partial "share-links.html" . }}</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue