Skip to content

Commit

Permalink
Merge pull request #289 from HoomanDigital/main
Browse files Browse the repository at this point in the history
add: robots.txt file
  • Loading branch information
Hooman Digital authored Jun 27, 2024
2 parents 2e669db + 6fae491 commit 279ae89
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 23 deletions.
40 changes: 17 additions & 23 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import astroExpressiveCode from "astro-expressive-code";

import mdx from "@astrojs/mdx";

import robotsTxt from "astro-robots-txt";

// https://astro.build/config
export default defineConfig({
// experimental: {
Expand All @@ -20,31 +21,24 @@ export default defineConfig({
"/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",
"/roadmap": "https://github.com/orgs/akash-network/projects/5/views/1?layout=roadmap"
},
markdown: {
// shikiConfig: {
// theme: theme,
// },
remarkPlugins: [remark, customAsidePlugin],
remarkPlugins: [remark, customAsidePlugin]
},
integrations: [
tailwind(),
sitemap(),
react(),
astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: (theme) => `[data-theme='${theme.name}']`,

styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1",
},
}),
mdx(),
],
site: "https://akash.network",
});
integrations: [tailwind(), sitemap(), react(), astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: theme => `[data-theme='${theme.name}']`,
styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1"
}
}), mdx(), robotsTxt()],
site: "https://akash.network"
});
35 changes: 35 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 @@ -35,6 +35,7 @@
"@types/react-dom": "^18.0.6",
"astro": "^4.0.7",
"astro-expressive-code": "^0.30.1",
"astro-robots-txt": "^1.0.0",
"axios": "^1.6.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
Expand Down

0 comments on commit 279ae89

Please sign in to comment.