mirror of
https://github.com/seigler/awesome-dash-platform
synced 2025-07-26 22:26:10 +00:00
add icons to navbar
This commit is contained in:
parent
c3a6e11338
commit
34d654455d
9 changed files with 22 additions and 3 deletions
|
@ -7,7 +7,13 @@ const cssPath = path.join(__dirname, '../src/css')
|
|||
const jsPath = path.join(__dirname, '../src/js')
|
||||
const http = require('http')
|
||||
|
||||
const runHugo = () => runAll(['build:hugo'])
|
||||
const runHugo = () => {
|
||||
console.log('Rebuilding...')
|
||||
return runAll(['build:hugo'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr
|
||||
}).then(() => console.log('Done!')).catch(console.log)
|
||||
}
|
||||
|
||||
const handler = (path) => {
|
||||
if (path.startsWith(dataFolder)) {
|
||||
|
@ -23,7 +29,7 @@ const handler = (path) => {
|
|||
|
||||
async function run () {
|
||||
console.log('Preparing fonts, css, js and data...')
|
||||
await runAll(['build:fonts', 'build:css', 'build:js', 'build:data'], {parallel: true})
|
||||
await runAll(['build:fonts', 'build:css', 'build:js', 'build:css', 'build:data'], {parallel: true})
|
||||
console.log('Running Hugo once...')
|
||||
await runHugo()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue