front/general: add favicon
This commit is contained in:
parent
55c5363edc
commit
7a07cc7bf7
|
@ -95,8 +95,13 @@ function bundleConfig(config) {
|
||||||
'./static/js/.config.autogen.json', JSON.stringify(config));
|
'./static/js/.config.autogen.json', JSON.stringify(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function copyFile(source, target) {
|
||||||
|
fs.createReadStream(source).pipe(fs.createWriteStream(target));
|
||||||
|
}
|
||||||
|
|
||||||
const config = getConfig();
|
const config = getConfig();
|
||||||
bundleConfig(config);
|
bundleConfig(config);
|
||||||
bundleHtml(config);
|
bundleHtml(config);
|
||||||
bundleCss();
|
bundleCss();
|
||||||
bundleJs();
|
bundleJs();
|
||||||
|
copyFile('static/favicon.png', 'public/favicon.png');
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
|
@ -3,9 +3,10 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset='utf-8'/>
|
<meta charset='utf-8'/>
|
||||||
<title><!-- change via config.ini --></title>
|
<title><!-- change via config.ini --></title>
|
||||||
<link href='/bundle.min.css' rel='stylesheet' type='text/css'>
|
<link href='/bundle.min.css' rel='stylesheet' type='text/css'/>
|
||||||
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
|
<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'/>
|
||||||
<link href='//fonts.googleapis.com/css?family=Inconsolata|Droid+Sans' rel='stylesheet' type='text/css'>
|
<link href='//fonts.googleapis.com/css?family=Inconsolata|Droid+Sans' rel='stylesheet' type='text/css'/>
|
||||||
|
<link rel='shortcut icon' type='image/png' href='/favicon.png'/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id='top-nav-holder'></div>
|
<div id='top-nav-holder'></div>
|
||||||
|
|
Loading…
Reference in New Issue