Set fixed local time for pages if time is set in app config
mojavelinux opened this issue · 0 comments
mojavelinux commented
If the time is set in the app config:
set :time, Time.now
then set the localdate
and localtime
attributes on each AsciiDoc page accordingly. This allows all pages in the site to have a uniform concept of the time at which the build occurred.
This is similar to Jekyll's site.time variable (see https://jekyllrb.com/docs/variables/#site-variables).