Skip to content

Commit

Permalink
Merge pull request #344 from HoomanDgtl/main
Browse files Browse the repository at this point in the history
redirect: broken links
  • Loading branch information
HoomanDgtl committed Aug 23, 2024
2 parents 6326495 + ad46e39 commit edf4016
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 edf4016

Please sign in to comment.