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

Give mustache templates access to a 'year' tag #1716

Merged
merged 1 commit into from Jan 30, 2016

Conversation

Projects
None yet
2 participants
@narrative
Member

narrative commented Jan 29, 2016

Hi

With the new year just rolling around, @Toxaris noticed a lot of the templates at stack-templates needed updating. This PR aims to address this and prevent it in the future by providing a mechanism for templates to insert the current calendar year.

If accepted, templates will be able to be written like:
Copyright {{author-name}} (c) {{year}}

Thanks

@mgsloan

This comment has been minimized.

Collaborator

mgsloan commented Jan 30, 2016

Thanks!

mgsloan added a commit that referenced this pull request Jan 30, 2016

Merge pull request #1716 from narrative/master
Give mustache templates access to a 'year' tag

@mgsloan mgsloan merged commit 459d649 into commercialhaskell:master Jan 30, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment