mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-04-19 07:28:05 +02:00
Redirect old website to new URL
This commit is contained in:
parent
4192aa438b
commit
a8100184a9
3 changed files with 16 additions and 4 deletions
6
build.js
6
build.js
|
@ -34,13 +34,13 @@ console.log('Merging files...');
|
|||
const $ = cheerio.load(index);
|
||||
$('#md').append(converter.makeHtml(readme));
|
||||
|
||||
console.log('Writing index.html');
|
||||
fs.writeFileSync('index.html', $.html(), 'utf8');
|
||||
console.log('Writing main.html');
|
||||
fs.writeFileSync('main.html', $.html(), 'utf8');
|
||||
|
||||
console.log('Bundling with Parcel.js');
|
||||
console.log('');
|
||||
|
||||
new Parcel('index.html', {
|
||||
new Parcel('main.html', {
|
||||
name: 'build',
|
||||
// publicURL: '/awesome-docker'
|
||||
publicURL: '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue