Skip to content

Commit

Permalink
fix unintentional change to metadata merging
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Jan 15, 2016
1 parent e2c39d7 commit c682318
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).

[Upcoming Changes](https://github.com/patrickarlt/acetate/compare/v0.4.3...master)

## [0.4.6] - 2016-01-014

### Fixed

* Restore unintentional change to metadata merging.

## [0.4.5] - 2016-01-014

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/extensions/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (glob, data) {

_.each(acetate.pages, function (page) {
if (pattern.match(page.src)) {
_.merge(page, data);
_.merge(page, data, page.metadata);
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "acetate",
"description": "Layout and templating framework for static websites.",
"version": "0.4.5",
"version": "0.4.6",
"author": "Patrick Arlt",
"bugs": {
"url": "https://github.com/patrickarlt/acetate/issues"
Expand Down

0 comments on commit c682318

Please sign in to comment.