Skip to content

Commit ea10c07

Browse files
committed
comments
1 parent 590843e commit ea10c07

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/lib/ui_builder.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)