-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeking help to fix rendering and stylesheet import errors in Hugo project #125
Comments
@SamGreenwood1 - Some quick verification questions:
The majority of issues where I've seen this come up relate to those two (particularly that last one, given it was unable to read the bootstrap/functions component, so hints at a dependency issue) |
Just saw this:
|
I seem to have somehow inadvertently fixed those errors, now I get this one:
|
I am still having trouble with it. I checked, and Also, does the theme support the ability to mark episodes "upcoming"? |
@chrisreddington Still waiting for help, I've definitely tracked the issue to |
Sorry for the delay. Between holiday and other commitments, I'm only just getting a chance to check back in. I'm wondering if there's some logic on the homepage where I'm expecting certain content to be there, and perhaps there's a scenario I haven't accounted for. Do you have a repo available to take a peek at what you've got so far? Yes, upcoming are supported! Just set upcoming to true in the episode frontmatter 😊 for example, you can see this episode has upcoming set to false. |
@SamGreenwood1 - I think I've identified the issue. When I build the theme, I create a file in data/popular.json to populate the 'most popular posts' section of the site. It is an array of strings with the relative file path from the BaseURL to the blog post, e.g.:
I suspect that if you add a dummy file with an empty array, you'll get a successful build. I'm going to add a check to verify if the file exists, and contains an array before using that logic. |
Hey @SamGreenwood1, I believe this is now fixed in v0.0.28 of the site. Please can you update to that version and let me know whether all is good? Then we can close the issue :) Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sorry, I was working at overnight camp through the summer and didn't have time to continue working on this. I'm still getting that error. |
Discussed in #124
Originally posted by SamGreenwood1 May 11, 2023
$hugo-filecache = /tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/cloudwithchris
I'm encountering two errors in my Hugo project and could use some guidance in resolving them. Here's a summary of the situation:
Error during rendering: When attempting to render a page in my project, an error occurs at line 55 of the template _default/search.html. The specific error is related to the execution of $.Scratch.Add, resulting in a "reflect.Value.Type on zero Value" error.
Stylesheet import error: While building the site, there is an issue with transforming the SCSS file style.main.scss. The error points to line 4 of main.scss and states that the import file bootstrap/functions cannot be found or read.
Actual error messages:
If you have any experience with these errors or expertise in Hugo and SCSS, I would greatly appreciate your insights and any suggestions for resolving these issues.
The text was updated successfully, but these errors were encountered: