최근 검색
최근 검색 없음

Arthur Badin
가입한 날짜: 2025년 1월 28일
·
마지막 활동: 2025년 2월 11일
팔로잉
0
팔로워
0
총 활동 수
3
투표 수
0
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Arthur Badin
Arthur Badin님이 에 댓글을 입력함
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!
댓글 보기 · 2025년 2월 11일에 편집됨 · Arthur Badin
0
팔로워
0
투표 수
0
댓글
Arthur Badin님이 에 게시물을 만듦
Any way to make current year in the footer dynamic? Ideally without using JavaScript. Something like this:
{{date "" format="YYYY"}}
2025년 1월 28일에 게시됨 · Arthur Badin
0
팔로워
3
투표 수
2
댓글