File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -221,12 +221,19 @@ var css = fs.readFileSync('./css/tachyons.css', 'utf8')
221
221
var obj = cssstats ( css )
222
222
var size = filesize ( gzip . sync ( fs . readFileSync ( 'css/tachyons.min.css' , 'utf8' ) ) )
223
223
224
+
224
225
var template = fs . readFileSync ( './src/templates/index.html' , 'utf8' )
226
+ var siteFooter = fs . readFileSync ( './src/templates/footer.html' , 'utf8' )
227
+ var siteHeader = fs . readFileSync ( './src/templates/header.html' , 'utf8' )
228
+ var navDocs = fs . readFileSync ( './src/templates/nav_docs.html' , 'utf8' )
229
+
225
230
var tpl = _ . template ( template )
226
231
var html = tpl ( {
227
232
size : size ,
228
233
version : tachyons . version ,
229
234
modulesCount : filesCount ,
235
+ siteFooter : siteFooter ,
236
+ siteHeader : siteHeader ,
230
237
backgroundSizeVersion : backgroundSize . version ,
231
238
backgroundSizeSize : backgroundSizeSize ,
232
239
baseVersion : base . version ,
You can’t perform that action at this time.
0 commit comments