The Date_format parameter setting in _CONFIG.YML does not work on the display of the article date in the first page of the 2.0 version of octopress that I am currently using, and it needs to be set up in other ways.
Set to, modify the source/_includes/post/date.html file, replace it with {{page.date_time_html}} (please consciously remove "\", because octopress handle the problem of curly braces, do not add to the display, Added and wrong, same as below):
\{\{ page.date | date: ‘%Y年%m月%d日‘ }}
The content in single quotes is the date format of Jekyll (also octopress), where relevant examples can be found. Like what:
\{\{ page.date | date: ‘%B %d, %Y‘ }}
Will make the date appear as:
January 02, 2015
Refer to this Jekyll Date formatting examples and a reply to a question I have been waiting for a few months, and the second reply in this reply is the positive solution.
Original link Address: http://pangyi.github.io/blog/20150102/she-zhi-octopressshou-ye-de-ri-qi-ge-shi/
Written by pangyi?posted at Http://pangyi.github.io
Set the date format for the Octopress home page