Skip to content

Commit e27bc77

Browse files
authored
Deploy redirects for legacy pages v2 (#241)
* Add The Graph to developer tools * Add The Graph to developer tools * Change order of The Graph links * Change order of The Graph links * Quick fix, change "Besu" to "Hyperledger Besu" For technical reasons, Besu should at least contain one mention of Hyperledger Besu in it. * Add page-specific meta tags [Resolves #114] * Add issue & PR templates [Finishes #196] * /enterprise url with enterprise ethereum information and resources (#198) * initial commit with page structure * WIP. Added most subjects and descriptions. still needs some work on diversity of projects * WIP. Added most subjects and descriptions. still needs some work on diversity of projects * fixed some minor details * internal links to /enterprise + more content + small fixes * minor fixes * review edits: edited EEA comments regarding public availability + clarified "Enterprise Focused Projects" references + corrected a misdirected URL * Added meta tags + removed sawtooth mentions (until validated) + edited initial description * minor meta tags formatting issue * homepage link to enterprise changed from enterprise ethereum to enterprise Signed-off-by: Felipe Faraggi <[email protected]> * Add redirects for legacy pages [Fixes #236] (#237) * Add redirects for legacy pages v2 [Fixes #236] (#240)
1 parent 81a0011 commit e27bc77

File tree

4 files changed

+7422
-9845
lines changed

4 files changed

+7422
-9845
lines changed

docs/.vuepress/config.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { translate } = require('./theme/utils/translations');
22

33
module.exports = {
4-
title: 'Ethereum',
4+
title: 'Ethereum/',
55
themeConfig: {
66
nav: [
77
{ text: translate('page-home'), link: '/' },
@@ -13,7 +13,7 @@ module.exports = {
1313
},
1414
head: [
1515
[
16-
'meta',
16+
'meta/',
1717
{
1818
name: 'viewport',
1919
content:
@@ -95,5 +95,24 @@ module.exports = {
9595
{ text: translate('page-developers', 'ko-KR'), link: '/ko/developers/' }
9696
]
9797
}
98+
},
99+
plugins: {
100+
// TODO remove once we set up Netlify redirects
101+
redirect: {
102+
alias: {
103+
'/foundation/': '/',
104+
'/pdfs/*': '/',
105+
'/brand/': '/',
106+
'/donate/': '/',
107+
'/ether/': '/use/',
108+
'/token/': '/developers/',
109+
'/token/': '/developers/',
110+
'/build/': '/developers/',
111+
'/crowdsale/': '/developers/',
112+
'/dao/': '/developers/',
113+
'/cli/': '/developers/',
114+
'/greeter/': '/developers/'
115+
}
116+
}
98117
}
99118
};

0 commit comments

Comments
 (0)