diff --git a/hugo.yaml b/hugo.yaml index 3d8a3a2..54ddc67 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -4,8 +4,6 @@ markup: lineNos: true goldmark: parser: - # don't put
around ![]() image in markdown (used to embed any resource now) - wrapStandAloneImageWithinParagraph: false attribute: block: true # this is enabled by default already diff --git a/layouts/_markup/render-image.html b/layouts/_markup/render-image.html deleted file mode 100644 index 6f83f10..0000000 --- a/layouts/_markup/render-image.html +++ /dev/null @@ -1,12 +0,0 @@ -{{/* TODO: should we use .PageInner */}} -{{ partial "embed-resource.html" (.Page.Resources.Get .Destination) }} -{{ with .Title }} - {{ errorf "%q" . }} -{{ end }} -{{ with .Attributes }} - {{/* FIXME: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_markup/render-image.html */}} - {{ errorf "%q" . }} -{{ end }} -{{ with .Text }} - {{ errorf "%q" . }} -{{ end }}