This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
Replies: 2 comments
-
Hi @jackbaty. Sorry for the long response. The discussion feature is on the BETA status and I expected that the number of open discussions will appear in the Discussion tab and, for this reason, I did not see your question. I will analyze this problem and see what I can do. 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @jackbaty. Please see the relevant issue #68. The reason is that you might have one or more empty posts on your website. New versions of Hugo will refuse to add partial templates to empty content and throw an error. I made a PR #79 to fix this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thanks for continuing work on the theme.
I'm seeing errors when rendering the site which I think are caused by poorly-constructed frontmatter in one or more of my thousands of post files. This isn't surprising, as I've been migrating between blogging platforms for 20 years now.
So here's example output from the render:
In my fork of the original LoveIt theme, I added conditionals such as
{{- if ne "" $content -}}
to the problem templates. This prevents the symptom, but doesn't really fix the problem.So, finally!, my question is: Is there a recommended way to track down which source content files have the offending frontmatter? I'd rather correct that than cheat and work around it in the templates/layouts.
Thanks for any tips you might have.
Jack
Beta Was this translation helpful? Give feedback.
All reactions