Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Made material data available to templates and refactored testing #50

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adding the filename too
phawxby committed May 8, 2017
commit b58b96afe76ac381a681a2c00ec331b9dd556859
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -331,7 +331,8 @@ var parseMaterials = function () {
// Add the data to the output
localData.template = {
content: fileMatter.content,
path: file
path: file,
filename: path.basename(file)
};

// capture meta data for the material