-
Notifications
You must be signed in to change notification settings - Fork 271
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
Thumbnail image path for page bundles. #72
Comments
Hello, Nicola. I can handle the third question while the other two would be better answered by @onweru. We currently have not implemented a search function, however this is planned in the 2.0 milestone via a custom implementation. The "reading time" function you mentioned is a separate piece of functionality if you're asking about blogs that state something like "estimated 5 minutes to read" up front. This isn't something that a search function would solve, however. |
Hello Chip! Thanks for coming back to me! You are right, In fact my 3rd question was a kind of "feature request" for 2 separate features:
Just out of curiosity, what is your approach in terms of page resources? When you publish a new post that has a bunch of screenshots, thumbnail, featured image and possibly search image, do you use the "static folder" for images and other content? and "content folder" only for the MDs? Thanks, |
The first feature is something we aren't planning to implement at this time, but of course that's subject to change especially if there's more interest. The second feature, as I said, will get implemented in 2.0. That will probably be a next year target. For page resources, the convention in Hugo is to separate static files from text content because images, icons, etc don't get rendered by Hugo while text (in the form of MD) does. So for my own blog, I create a dir for the year-month followed by a year for the post title. I do this for both content and static sides. Separating that content also helps in some CI/CD processes where changes occur in only one directory while leaving images be. |
I believe that is covered, to a good degree, in the readme
That's exactly right.
I'm familiar with the concept of page bundles, but I have so far ignored them to an obvious fault. Nonetheless for a good reason; I find media management on forestry cms (most SSG cms) painful when Hugo page resources are applied. I'll give this some thought, and if the theme can support page bundles simultaneously, I'll add support. Thanks for raising this. |
@onweru Thank you,
yes, you are right. is it covered in the readme, and my apologies if I'm asking silly questions, I guess this is more related to git and workflow instead of this theme: I wanted to change the background color and, following the instruction I modifies _variables.sass, but now git complains about untracked changes for the submodule.
Sorry, I'm not sure I understand how forestry is related. For my understanding, image processing was introduced in hugo for the purpose to help manage images on page bundles, right? That's why image processing only applies to images within the "content" folder, as per Hugo guidelines on Content Management. @chipzoller Thank you,
I'm confused, Isn't it contradicting the concept of Page Bundles? |
Yes, that's the concept of Page Bundles, but they're a (fairly) new concept to Hugo. Prior to Page Bundles, the convention was that non-rendered files (typically images) should be defined in |
How do one overrides the _variables.sass or creates a custom .sass outside the them folder? I'm quite happy with changing $bg and $theme colors and I think I tried almost everything but I can't manage to change those settinngs leaving the theme's folder untouched. Can you please help? |
@rugginic, I have updated the readme accordingly to accommodate your question. It might be helpful to look at the comments embedded in the files affected by 714a461 as well |
One more thing, to add new font files use these wonderful templates that were added by @razonyang at #50 |
@onweru Thanks a lot!
In my case it didn't work without the "_" underscore. The file has to be renamed _override.sass |
@rugginic, thanks for catching that. |
Hello and thank you for this amazing theme.
I'd like to ask 3 questions I couldn't find an answer for in the documentation:
I'm trying to keep posts and their resources (images, attachments, ecc) within the content folder, leveraging page bundles. One thing I noticed, the thumbnail image path apparently always points to the static folder. I couldn't manage to keep all the post's content within the same post folder "/content/post/2020-10-10-post-title-folder/"
is there a way to do so? or am I missing something? what would be the best practice in terms of content management?
what would be the best way to customise the theme (color scheme, fonts, ecc)
I noticed the theme does not have "reading time" for articles and internal search option to search through the posts. I wonder a scenario where I have hundreds of posts in my blog and and I want to search for a word or a phrase. How would one achieve this?
Thanks and Regards,
Nicola
The text was updated successfully, but these errors were encountered: