New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: post's date can be overriden in YAML front matter #6334

Merged
merged 1 commit into from Aug 28, 2017

Conversation

Projects
None yet
5 participants
@DirtyF
Member

DirtyF commented Aug 26, 2017

From #6177 (comment)

Here's the updated version:

VARIABLE DESCRIPTION
year Year from the post's filename. May be overridden via the document’s date YAML front matter
month Month from the post's filename. May be overridden via the document’s date YAML front matter
i_month Month without leading zeros from the post's filename. May be overridden via the document’s date YAML front matter
day Day from the post's filename. May be overridden via the document’s date YAML front matter
i_day Day without leading zeros from the post's filename. May be overridden via the document’s date YAML front matter
short_year Year without the century from the post's filename. May be overridden via the document’s date YAML front matter

@DirtyF DirtyF requested a review from jekyll/documentation Aug 26, 2017

@ashmaroli

I'm not part of the Documentation Team but LGTM anyways 😃

@parkr

parkr approved these changes Aug 28, 2017

@pathawks

This comment has been minimized.

Show comment
Hide comment
@pathawks

pathawks Aug 28, 2017

Member

@jekyllbot: merge +docs

Member

pathawks commented Aug 28, 2017

@jekyllbot: merge +docs

@jekyllbot jekyllbot merged commit 1a7bcb0 into master Aug 28, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@jekyllbot jekyllbot deleted the docs-post-date branch Aug 28, 2017

jekyllbot added a commit that referenced this pull request Aug 28, 2017

@pathawks pathawks referenced this pull request Aug 28, 2017

Closed

Permalink date variables do not behave as described #6177

6 of 17 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment