zehjotkah
zehjotkah.bsky.social
zehjotkah
@zehjotkah.bsky.social
Very nice!
November 16, 2025 at 4:16 PM
Maybe you could take a look at github.com/webstudio-is...
This PR enable us to create a dynamic copyright footer without client side hydration errors.
feat: add Current Date, URL and Browser system resources by zehjotkah · Pull Request #5434 · webstudio-is/webstudio
Summary This PR adds three new System Resources to Webstudio: Current Date - Provides current date/time information URL Info - Provides detailed URL details (pathname, search params, hash, etc.) B...
github.com
October 31, 2025 at 7:14 AM
I don't see a date component. Do you mean the time component? How would I set it dynamically to the current year?
October 29, 2025 at 7:27 PM
Love it. But it causes react hydration errors. Would love @webstudio.is to include more server side system data variables like current date.
October 29, 2025 at 4:59 PM
Reposted by zehjotkah
1. In your copyright text, include a placeholder for the year. Anything will do.
2. Wrap the year placeholder in a span.
3. Give the span an ID (e.g., 𝚢𝚎𝚊𝚛) so we can target it with a script... 👉

2/3
February 17, 2025 at 9:11 PM
Reposted by zehjotkah
Simpler yet, use the getElementById() method in the script to target the placeholder.
February 26, 2025 at 11:58 PM
Reposted by zehjotkah
2. You can define Cache Max Age

This means your API response will be cached at the edge, making your site faster, reducing API workload, and potentially lowering costs.
September 8, 2025 at 2:17 PM
Great for image SEO!
August 12, 2025 at 3:47 PM
Useful.
August 12, 2025 at 3:21 PM