Skip to content

Commit

Permalink
sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Nelson committed Aug 19, 2023
1 parent 59df90e commit 210ca53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import config from "./src/config/config.json";

// https://astro.build/config
export default defineConfig({
site: config.site.base_url ? config.site.base_url : "http://examplesite.com",
site: config.site.base_url ? config.site.base_url : "http://reednel.com",
base: config.site.base_path ? config.site.base_path : "/",
trailingSlash: config.site.trailing_slash ? "always" : "never",
integrations: [
Expand Down
4 changes: 3 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
User-agent: *
Allow: /

Disallow: /api/*
Disallow: /api/*

Sitemap: https://reednel.com/sitemap-index.xml
1 change: 0 additions & 1 deletion src/layouts/Base.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import config from "@/config/config.json";
import theme from "@/config/theme.json";
import { plainify } from "@/lib/utils/textConverter";
import Footer from "@/partials/Footer.astro";
import Header from "@/partials/Header.astro";
Expand Down
1 change: 0 additions & 1 deletion src/layouts/DrinkSingle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { getSinglePage } from "@/lib/contentParser.astro";
import similerItems from "@/lib/utils/similarItems";
import { markdownify } from "@/lib/utils/textConverter";
import { Image } from "@astrojs/image/components";
import type internal from "stream";
interface Recipe {
ingredients: {
Expand Down

0 comments on commit 210ca53

Please sign in to comment.