mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-28 04:41:35 -05:00
Remove render-image override
We can just use the resource shortcode in content files
This commit is contained in:
@@ -4,8 +4,6 @@ markup:
|
||||
lineNos: true
|
||||
goldmark:
|
||||
parser:
|
||||
# don't put <p> around ![]() image in markdown (used to embed any resource now)
|
||||
wrapStandAloneImageWithinParagraph: false
|
||||
attribute:
|
||||
block: true
|
||||
# this is enabled by default already
|
||||
|
@@ -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 }}
|
Reference in New Issue
Block a user