yaml - Date doesn't work in front matter defaults in Jekyll -


i want posts same date. put following in _config.yml file:

defaults:   -     scope:       path: ""       type: "post"     values:       layout: "post"       date: "31.05.2014" 

when build site, posts post layout, instead of date specified in front matter defaults, date specified in names of posts initially. although when add date manually front matter of each post, works.

so idea whether date can set in front matter defaults or not? if yes, how can it?

based on want, think jekyll's data feature may of better use here. specify last_updated_at field date in data file , use throughout site. allow post filename indicate when knowledge base article created, or bump post date (if it's not part of permalink) indicate when each article last updated.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -