Logo for new content type

gro58's picture
Forums: 

How do you add a logo to a new content type?
I looked at the repository of H5P.Blanks and discovered a file named "icon.svg",
but I had no result when searching this file name inside the *.js or *.json files of H5P.Blanks.

otacke's picture

Hi!

That icon is not packed inline into the code, but it needs to found in the main folder just where the `library.json` and `semantics.json` file are put. It will be read by H5P core, not by the content type itself.

Cheers,
Oliver