hugo-PaperModX icon indicating copy to clipboard operation
hugo-PaperModX copied to clipboard

Problem with Image-Markdown definition in 'Content:' parameter

Open raibisch opened this issue 2 years ago • 1 comments

Bug description:

  • a included image in content as markdown is reported as 'image not found' (see steps below)

Steps to reproduce the behaviour:

  • hugo version : v0.110.0
  • Theme "hugo-PaperModX' actual version master from 2023-02-15
  • the image 'honeycomb.png' was stored in project root folder 'static'
  • no WARN or ERROR with original 'PaperMod' theme

define parameter 'Content' in file 'config.yml':

params:
  homeInfoParams:
    Content: 'some text ![my-logo](honeycomb.png) some other text'

reported Error:

WARN 2023/02/15 12:33:56 No image found for honeycomb.png from {%!s(*helpers.DistinctLogger=&{0xc001dc0600 {{0 0} 0 0 0 0} map[]})}

Expected behaviour: image is found and visible ...and no ERROR or WARN reported)

(successful tested with original 'PaperMod' theme)

Additional remark

  • the same error if I include the image-tag in 'Title:' parameter

raibisch avatar Feb 15 '23 12:02 raibisch

@raibisch did you ever find a solution for this?

alexjacobs08 avatar Mar 13 '24 21:03 alexjacobs08