Recent searches
No recent searches

Arthur Badin
Joined Jan 28, 2025
·
Last activity Feb 11, 2025
Following
0
Followers
0
Total activity
3
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Arthur Badin
Arthur Badin commented,
Hey Erica,
We're using Help Center .hbs
templates for the footer.
Example:
←footer.hbs→
I was wondering if there's a way to get the current year using the templating language. Right now, we have to update it manually every year.
I found the date helper, but I'm not sure how to use it to get the current year or can we format it to include only year.
One idea is to wrap the year in a and update it dynamically using JavaScript, but that might cause a flash when the script runs. Is that the best approach, or is there a better way?
Thanks!
View comment · Edited Feb 11, 2025 · Arthur Badin
0
Followers
0
Votes
0
Comments
Arthur Badin created a post,
Any way to make current year in the footer dynamic? Ideally without using JavaScript. Something like this:
{{date "" format="YYYY"}}
Posted Jan 28, 2025 · Arthur Badin
0
Followers
3
Votes
2
Comments