there are the contents in render-image.html
{{ if site.Params.replacefunc.enable }}
{{ if hugo.IsServer }}
<p class="md__image">
<img src='{{ .Destination | safeURL }}' alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</p>
{{ else }}
{{ $image_ext := replaceRE ".*\\.([^.]+)$" "$1" .Destination }}
{{ if in site.Params.replacefunc.convertTypeList (lower $image_ext) }}
{{ $img_abs_src := "" }}
{{ some logic code }}
{{ some logic code }}
{{ some logic code }}
{{ some logic code }}
{{ some logic code }}
<p class="md__image">
<img src='{{ $img_abs_src| safeURL }}' alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</p>
{{ else }}
<p class="md__image">
<img src='{{ .Destination | safeURL }}' alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</p>
{{ end }}
{{ end }}
{{ else }}
<p class="md__image">
<img src='{{ .Destination | safeURL }}' alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
</p>
{{ end }}
hugo version : 0.131.0