You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used v0.46 hugo and there were no problems in front matter.
But now frontmatter in a html comment like this is ignored in v0.51
And I didn't tried other versions.
Is this a bug or an intended change?
<!--+++title = "hello"+++-->
The text was updated successfully, but these errors were encountered:
binkoni
changed the title
frontmatter in html comment is suddenly ignored
Frontmatter in html comment is suddenly ignored
Nov 28, 2018
When the page parser was rewritten in 0.51, this was interpreted literally, but commented out front matter is used in the wild to "hide it from GitHub", e.g:
```
<!--
+++
title = "hello"
+++
-->
```
Fixesgohugoio#5478
I have used v0.46 hugo and there were no problems in front matter.
But now frontmatter in a html comment like this is ignored in v0.51
And I didn't tried other versions.
Is this a bug or an intended change?
The text was updated successfully, but these errors were encountered: