In /themes/hugo-hero-theme/layouts/index.html, there are extra paragraph tags in two locations that cause invalid HTML.
The first is on line 31:
<p>{{ .Content }}</p>
and the second is on line 64:
<p>{{ .Content }}</p>
Wrapping the {{ .Content }} in paragraph tags means that all the content a user enters in the content section of a markdown file will be wrapped in additional <p> tags.
You can see the problem if you look at the source code for the Home page in the demo, where the "We Help Business Grow" and "Our Difference" sections are both wrapped in unnecessary paragraph tags.
The fix--until this is fixed in the theme--seems to be simply removing the extra paragraph tags on lines 31 and 64, then saving the index.html file in the /layouts folder to override the theme's version.
In /themes/hugo-hero-theme/layouts/index.html, there are extra paragraph tags in two locations that cause invalid HTML.
The first is on line 31:
and the second is on line 64:
Wrapping the
{{ .Content }}
in paragraph tags means that all the content a user enters in the content section of a markdown file will be wrapped in additional<p>
tags.You can see the problem if you look at the source code for the Home page in the demo, where the "We Help Business Grow" and "Our Difference" sections are both wrapped in unnecessary paragraph tags.
The fix--until this is fixed in the theme--seems to be simply removing the extra paragraph tags on lines 31 and 64, then saving the index.html file in the/layouts folder to override the theme's version.