From b59e1c3018c9364c5fee62a3883acdb043bf84a9 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Wed, 25 Jan 2023 14:14:43 +0100 Subject: [PATCH] fix iframe partial --- layouts/partials/FixIframeRatio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/FixIframeRatio b/layouts/partials/FixIframeRatio index cc0e1339..e9dbb7c9 100644 --- a/layouts/partials/FixIframeRatio +++ b/layouts/partials/FixIframeRatio @@ -1,5 +1,5 @@ {{ $chunks := split . "<iframe" }} -{{ $text := delimit $chunks "<div class=\"ratio ratio-16x9\"><iframe loading=\"lazy\" title=\"\"" }} +{{ $text := delimit $chunks "<div class=\"ratio ratio-16x9\"><iframe loading=\"lazy\"" }} {{ $chunks = split $text "</iframe>" }} {{ $text = delimit $chunks "</iframe></div>" }} {{ return $text }} -- GitLab