Comments (2)
Images are used in both static and assets. Static is mainly for SVG and native WEBP, while assets are images processed by Hugo Pipes. So the featured_image from frontmatter is processed by hugo pipes, while the header/nav would use the img src="/images/site-logo.svg" from static. Does that make sense? My apologies, but from what I could tell, that is the way Hugo is built. I would say, if you want to just use webp for your site, then just use static. If you do want to use PNG files, use them from assets, and add on the image processing to convert to webp.
from tailbliss.
Makes sense, thank you! :)
from tailbliss.
Related Issues (20)
- Please ignore
- Dark text on dark background
- How do you change colors? HOT 4
- On Cloudflare Pages only production branch works, but any other fails HOT 1
- style.css line 3404 HOT 2
- Issues deploying on Netlify but everything works locally HOT 4
- Document how to utilize the contact me page HOT 2
- module does not exist HOT 4
- Difficulty getting framework to properly render on development server from 0.0.0.0 HOT 3
- Image processing HOT 3
- markdown-it support HOT 2
- new list arrangement HOT 1
- I tried it on windows with npm 6.14.8 and got below errors HOT 1
- [BUG] baseURL Causing CSS Linking Errors HOT 2
- mysql issue HOT 1
- Could not resolve "alpinejs" HOT 18
- Include non-theme content in build pipeline? HOT 1
- Can't build site nor launch server HOT 2
- Can't access new HTML file created in the layouts folder HOT 3
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 tailbliss.