mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-30 05:11:37 -05:00
Remove render-image override
We can just use the resource shortcode in content files
This commit is contained in:
@@ -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