File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,11 @@ var pattern_assembler = function () {
166
166
currentPattern . patternDescExists = true ;
167
167
currentPattern . patternDesc = markdownObject . markdown ;
168
168
169
+
170
+ //Add all markdown to the currentPattern, including frontmatter
171
+ currentPattern . allMarkdown = markdownObject ;
172
+
173
+
169
174
//consider looping through all keys eventually. would need to blacklist some properties and whitelist others
170
175
if ( markdownObject . state ) {
171
176
currentPattern . patternState = markdownObject . state ;
@@ -182,6 +187,9 @@ var pattern_assembler = function () {
182
187
if ( markdownObject . tags ) {
183
188
currentPattern . tags = markdownObject . tags ;
184
189
}
190
+ if ( markdownObject . title ) {
191
+ currentPattern . patternName = markdownObject . title ;
192
+ }
185
193
if ( markdownObject . links ) {
186
194
currentPattern . links = markdownObject . links ;
187
195
}
You can’t perform that action at this time.
0 commit comments