{{ .Content }} doesn't show text (Single Page)

Hello, after update Hugo to the latest version the content doesn’t show. This is my content file:

+++
layout 			= "blog_single_tpl"

## Meta
description		= "Description"
title			= "Title"

## Date
date			= "2020-03-03T00:00:00+03:00"

## Short data
short_title		= "Short title"
short_description = "Short text"
short_img 		= "from-a-small-startup-to-one-of-the-worlds-top-ten-service-providers/lg.jpg"
short_img_big	= "from-a-small-startup-to-one-of-the-worlds-top-ten-service-providers/lg_big.jpg"
category		= ["Hosting"]
is_wp			= 0
is_case			= 0
+++

<p>test content</p>

Hi there,

This is not enough information for us to be able to help you. Please post your site code repo.

1 Like

Your content is html and not markdown. So you have to add an unsafe option to goldmark.
Have a look here: https://gohugo.io/getting-started/configuration-markup/#config

I added to the config this code and everything OK now! Thank you!

[markup]
defaultMarkdownHandler = “goldmark”
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.