1
0
Fork 0
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:
Julien Bisconti 2018-03-18 06:30:10 +01:00
parent 4192aa438b
commit a8100184a9
3 changed files with 16 additions and 4 deletions

View file

@ -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: '/'