From a8100184a9b9933bb72de56d5e60f6dc8c1d6906 Mon Sep 17 00:00:00 2001 From: Julien Bisconti Date: Sun, 18 Mar 2018 06:30:10 +0100 Subject: [PATCH] Redirect old website to new URL --- .gitignore | 1 - build.js | 6 +++--- index.html | 13 +++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 index.html diff --git a/.gitignore b/.gitignore index 4ff0184..e50c4e7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,4 @@ node_modules .cache dist package-lock.json -index.html diff --git a/build.js b/build.js index 1b8343e..5b9f348 100644 --- a/build.js +++ b/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: '/' diff --git a/index.html b/index.html new file mode 100644 index 0000000..572c816 --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + + Awesome-docker + + +

We moved to a new place, click here to be redirected.

+ + \ No newline at end of file