how to use an element's JS variables to get the current year? #215
Answered
by
bryanbemis
yotamguttman
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
bryanbemis
Jul 30, 2025
Replies: 2 comments 1 reply
-
You can use the 'HTML embed' Component to do that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's an approach using an HTML Embed: https://bsky.app/profile/bryanbemis.bsky.social/post/3lifnwoqdkn2d And here's another approach using a data variable on the Global Root: https://bsky.app/profile/bryanbemis.bsky.social/post/3lj4zm6z2hc2t |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yotamguttman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an approach using an HTML Embed: https://bsky.app/profile/bryanbemis.bsky.social/post/3lifnwoqdkn2d
And here's another approach using a data variable on the Global Root: https://bsky.app/profile/bryanbemis.bsky.social/post/3lj4zm6z2hc2t