` -}} - {{- $REout = `
` -}} - {{- $content = replaceRE $REin $REout $content -}} - - {{- $content | safeHTML -}} + {{- partial "hook/content.html" .Content | safeHTML -}}
From 8aba2262906628f38f114a9947783bc6c7fd7495 Mon Sep 17 00:00:00 2001
From: Dillon
` -}} +{{- $REout = `
` -}} + +{{- return replaceRE $REin $REout $content -}} \ No newline at end of file diff --git a/layouts/partials/image.html b/layouts/partials/image.html new file mode 100644 index 00000000..e58f3199 --- /dev/null +++ b/layouts/partials/image.html @@ -0,0 +1,2 @@ +{{- $res := resources.Get "svg/loading.svg" | minify -}} + \ No newline at end of file diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 93799aff..b7fe249b 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -39,8 +39,7 @@ {{- with .Params.featured_image -}}
` -}} - {{- $REout = `
` -}} - {{- $content = replaceRE $REin $REout $content -}} - - {{- $content | safeHTML -}} + {{- partial "hook/content.html" .Content | safeHTML -}}