File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ function buildFrontEnd(patternlab) {
346
346
//also add the cachebuster value. slight chance this could collide with a user that has defined cacheBuster as a value
347
347
patternlab . data . cacheBuster = patternlab . cacheBuster ;
348
348
349
- //get the main page head and foot
349
+ //get the main page head and foot and render them
350
350
var mainPageHead = patternlab . userHead . extendedTemplate . replace ( '{% pattern-lab-head %}' , patternlab . header ) ;
351
351
var mainPageHeadHtml = pattern_assembler . renderPattern ( mainPageHead , patternlab . data ) ;
352
352
var mainPageFoot = patternlab . userFoot . extendedTemplate . replace ( '{% pattern-lab-foot %}' , patternlab . footer ) ;
@@ -366,9 +366,11 @@ function buildFrontEnd(patternlab) {
366
366
367
367
//loop through all patterns.to build the navigation
368
368
//todo: refactor this someday
369
+ //GTP: totally doing that right now
369
370
buildNavigation ( patternlab ) ;
370
371
371
- //the patternlab site requires a lot of partials to be rendered.
372
+ //the patternlab site requires a lot of partials to be rendered!
373
+
372
374
//patternNav
373
375
var patternNavTemplate = fs . readFileSync ( path . resolve ( paths . source . patternlabFiles , 'templates/partials/patternNav.mustache' ) , 'utf8' ) ;
374
376
var patternNavPartialHtml = pattern_assembler . renderPattern ( patternNavTemplate , patternlab ) ;
You can’t perform that action at this time.
0 commit comments