Skip to content

Commit

Permalink
Handle old url to the blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
damianstasik committed Aug 31, 2023
1 parent f07c947 commit d963e50
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ const config = {
},
};
},
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
to: "/blog/opentf-announces-fork-of-terraform",
from: "/announcement",
},
],
},
],
],

themeConfig:
Expand Down
24 changes: 24 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/module-type-aliases": "2.4.1",
"@docusaurus/plugin-client-redirects": "^2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
"@tailwindcss/typography": "^0.5.9",
Expand Down

0 comments on commit d963e50

Please sign in to comment.