This repository was archived by the owner on Dec 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ function buildFrontEnd(patternlab) {
346346 //also add the cachebuster value. slight chance this could collide with a user that has defined cacheBuster as a value
347347 patternlab . data . cacheBuster = patternlab . cacheBuster ;
348348
349- //get the main page head and foot
349+ //get the main page head and foot and render them
350350 var mainPageHead = patternlab . userHead . extendedTemplate . replace ( '{% pattern-lab-head %}' , patternlab . header ) ;
351351 var mainPageHeadHtml = pattern_assembler . renderPattern ( mainPageHead , patternlab . data ) ;
352352 var mainPageFoot = patternlab . userFoot . extendedTemplate . replace ( '{% pattern-lab-foot %}' , patternlab . footer ) ;
@@ -366,9 +366,11 @@ function buildFrontEnd(patternlab) {
366366
367367 //loop through all patterns.to build the navigation
368368 //todo: refactor this someday
369+ //GTP: totally doing that right now
369370 buildNavigation ( patternlab ) ;
370371
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+
372374 //patternNav
373375 var patternNavTemplate = fs . readFileSync ( path . resolve ( paths . source . patternlabFiles , 'templates/partials/patternNav.mustache' ) , 'utf8' ) ;
374376 var patternNavPartialHtml = pattern_assembler . renderPattern ( patternNavTemplate , patternlab ) ;
You can’t perform that action at this time.
0 commit comments