Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit e36548a

Browse files
committed
only need to render the header for the viewall page once
1 parent ae985b5 commit e36548a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/lib/PatternLab/Builder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ protected function generateStyleguide() {
173173
*/
174174
protected function generateViewAllPages() {
175175

176+
$viewAllHead = Helper::$htmlLoader->render(Helper::$mainPageHead,Data::$store);
177+
$viewAllFoot = Helper::$htmlLoader->render(Helper::$mainPageFoot,Data::$store);
178+
176179
// add view all to each list
177180
foreach (PatternData::$store as $patternStoreKey => $patternStoreData) {
178181

0 commit comments

Comments
 (0)