Get today's date in Jekyll with Liquid markup
问题 This (should) be easy, I think, but I'm unable to get today's date to show in a Jekyll page using Liquid markup. According to the documentation, I should be able to do this to get this date's year: {{ 'now' | date: "%Y" }} But all that gets rendered is the string now , not any formatted date. What am I doing wrong? 回答1: It didn't work for me either. It appears you've hit a current bug in the Ruby 1.9.3 support. There is a pull request that fixes the bug, but it's not incorporated yet. A