cryptic0
cryptic0

Reputation: 245

Jekyll is printing HTML instead of rendering it

I routinely use html tags to display images under Jekyll. However I am currently working on a new theme and the following image tag does not work. Instead of showing the image, the resulting HTML page is displaying the tag itself. I have not seen this problem before. What am I missing?

<img src="/assets/one.jpg" width=600> </img>

Upvotes: 1

Views: 262

Answers (1)

Bailey S
Bailey S

Reputation: 627

Try removing the end tag since it isn't required. <img src="./assets/one.jpg" width=600>

Upvotes: 2

Related Questions