Skip to content

Commit

Permalink
fix : redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
dharamveergit committed Aug 22, 2024
1 parent 120936e commit 77b88c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
13 changes: 2 additions & 11 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,14 @@ import astroExpressiveCode from "astro-expressive-code";
import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import { redirects } from "./src/utils/redirects";

// https://astro.build/config
export default defineConfig({
// experimental: {
// contentCollectionCache: true,
// },
redirects: {
"/ecosystem": "/ecosystem/akash-tools/latest/",
"/development": "/development/welcome/overview/",
"/community": "/community/akash-insiders/",
"/about": "/about/general-information/",
"/about/pricing": "/about/pricing/compare",
"/blog/a/acc-akash-accelerationism": "/blog/a-acc-akash-accelerationism/",

"/roadmap":
"https://github.com/orgs/akash-network/projects/5/views/1?layout=roadmap",
},
redirects: redirects,
markdown: {
// shikiConfig: {
// theme: theme,
Expand Down
18 changes: 18 additions & 0 deletions src/utils/redirects.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export const redirects = {
"/ecosystem": "/ecosystem/akash-tools/latest/",
"/development": "/development/welcome/overview/",
"/community": "/community/akash-insiders/",
"/about": "/about/general-information/",
"/about/pricing": "/about/pricing/compare",
"/blog/a/acc-akash-accelerationism": "/blog/a-acc-akash-accelerationism/",

"/roadmap":
"https://github.com/orgs/akash-network/projects/5/views/1?layout=roadmap",
"/careers": "/",
"/whitepapers":
"https://ipfs.io/ipfs/QmVwsi5kTrg7UcUEGi5UfdheVLBWoHjze2pHy4tLqYvLYv",
"/l/econ-paper":
"https://ipfs.io/ipfs/QmdV52bF7j4utynJ6L11RgG93FuJiUmBH1i7pRD6NjUt6B",
"/docs/features/ip-leases": "/docs/network-features/ip-leases/",
"/testnet": "/docs/testnet/gpu-testnet-client-instructions/",
};

0 comments on commit 77b88c3

Please sign in to comment.