Closed ashwani1218 closed 1 year ago
Having the same issue
@tanyabouman you did some great work wit the template recently, did you maybe encounter this bug?
No, I didn't have this problem, but that line looks similar to https://github.com/decaporg/one-click-hugo-cms/blob/54717c5612bd63bc8a99aa12018c3e2cc0d3db1c/src/js/cms-preview-templates/post.js#L12 It looks like this problem was solved on main (the default branch) in September 2022. https://github.com/decaporg/one-click-hugo-cms/pull/705/files#diff-393a7975bf3ed93fc757ba3b50ad191d9d9bc357b5e26ed69bec1ac07425fb15 However, the change didn't make it into master, which also exists, but has diverged from main. https://github.com/decaporg/one-click-hugo-cms/blob/master/src/js/cms-preview-templates/post.js#L12
Thanks for this catch! @ashwani1218 and @formicagreen which branch did you use?
This is solved in https://github.com/decaporg/one-click-hugo-cms/issues/777
Describe the bug
To Reproduce Deploy the Hugo template site, set up the admin password, and check the blog post without changing anything.
Expected behavior The generated MD file should be displayed with the preview of the blog.
Screenshots
Applicable Versions:
netlify-cms-app@2.15.27
git-gateway
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
CMS configuration