Skip to content

Commit

Permalink
diallow tags and recipes from indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzabuzaid committed Nov 22, 2023
1 parent de492e5 commit bd00fbb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default defineConfig({
},
vite: {
optimizeDeps: {
extensions: [".png"],
exclude: ["@resvg/resvg-js"],
},
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"start": "astro dev",
"dev": "astro dev",
"build": "astro build && jampack ./dist",
"build": "astro build",
"preview": "astro preview",
"sync": "astro sync",
"astro": "astro",
Expand Down
4 changes: 1 addition & 3 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
User-agent: Googlebot
Disallow: /nogooglebot/

User-agent: *
Allow: /
Disallow: /*.md$
Disallow: /tags/
Disallow: /recipes/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ Recall diagnostics? the emit process will fail if there are any errors but that

Using [ESLint](https://eslint.org/) is a better option if you want to enforce rules on your codebase because it's specifically built for that purpose. However, if you want to build a tool that does something more complex, then the Typescript Compiler API is the way to go.

[I have written a guide for you](https://writer.sh/posts/gentle-introduction-to-eslint-rules) to learn more.
[I have written a guide for you](https://writer.sh/posts/gentle-introduction-to-ESLint-rules) to learn more.

## Conclusion

Expand Down

0 comments on commit bd00fbb

Please sign in to comment.