Comments (7)
Hey @rahulrai-in, I am sorry, but I didn't understand what do you mean by page bundles. can you explain, or give me some link to learn more about it?
from bookworm-light-hugo.
Apologies @tfsomrat I should have added a link to the feature. Here it is: https://gohugo.io/content-management/page-bundles/
from bookworm-light-hugo.
so you want to store all the images into a single folder right?
from bookworm-light-hugo.
I want to store images of a blog post in the same folder as the blog post. For example, in the following organization (screenshot from the documentation link)
I'd like to keep the my-post blog post's images: image-1, image-2 etc. in the folder of the blog post.
from bookworm-light-hugo.
I have used this style of content organization in my other blog. See this for reference. This doesn't use Page Bundle though.
from bookworm-light-hugo.
you can use this image partial: https://github.com/gethugothemes/hugo-modules/blob/master/images/layouts/partials/image.html
it has every functionality for loading image from assets/static/content/remote. just read the docs to use it properly.
Or you can hire us to do it for you at https://gethugothemes.com/get-a-quote
from bookworm-light-hugo.
I tried editing the partial template. However, for some reason it is not able to fetch Page reaources.
The command .Page.Resources.Get
return nil in the template.
from bookworm-light-hugo.
Related Issues (20)
- direction issue HOT 5
- TOCSS: failed to transform "style.main.scss" HOT 2
- Error in style.scss HOT 3
- Error 404: can't deploy on gh-pages HOT 2
- Netlify doesn't display images HOT 1
- Move "About" to home page? HOT 1
- Categories layout HOT 3
- syntax highlighting HOT 2
- Contact form not displaying labels and placeholders HOT 1
- Undefined variable: "$h1" HOT 7
- Google Analytics Support
- Fix issue with search query appearance
- How to Add Pagination on author page? HOT 1
- summaryLength
- Poor image quality after image resize & format change HOT 2
- * 'Quality' expected type 'int', got unconvertible type 'string', value: '95'
- failed to load modules HOT 2
- Floating ToC Support HOT 1
- Giscus Comments support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookworm-light-hugo.