mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-02 19:21:12 -05:00
Redirect old website to new URL
This commit is contained in:
parent
4192aa438b
commit
a8100184a9
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,5 +6,4 @@ node_modules
|
|||||||
.cache
|
.cache
|
||||||
dist
|
dist
|
||||||
package-lock.json
|
package-lock.json
|
||||||
index.html
|
|
||||||
|
|
||||||
|
6
build.js
6
build.js
@ -34,13 +34,13 @@ console.log('Merging files...');
|
|||||||
const $ = cheerio.load(index);
|
const $ = cheerio.load(index);
|
||||||
$('#md').append(converter.makeHtml(readme));
|
$('#md').append(converter.makeHtml(readme));
|
||||||
|
|
||||||
console.log('Writing index.html');
|
console.log('Writing main.html');
|
||||||
fs.writeFileSync('index.html', $.html(), 'utf8');
|
fs.writeFileSync('main.html', $.html(), 'utf8');
|
||||||
|
|
||||||
console.log('Bundling with Parcel.js');
|
console.log('Bundling with Parcel.js');
|
||||||
console.log('');
|
console.log('');
|
||||||
|
|
||||||
new Parcel('index.html', {
|
new Parcel('main.html', {
|
||||||
name: 'build',
|
name: 'build',
|
||||||
// publicURL: '/awesome-docker'
|
// publicURL: '/awesome-docker'
|
||||||
publicURL: '/'
|
publicURL: '/'
|
||||||
|
13
index.html
Normal file
13
index.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<meta HTTP-EQUIV="REFRESH" content="0; url=https://awesome-docker.netlify.com">
|
||||||
|
<title>Awesome-docker</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p> <a href="https://awesome-docker.netlify.com/">We moved to a new place, click here to be redirected.</a></p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user