From 210ca53aeeb5ba0916eaa225be7e977a4a087ff0 Mon Sep 17 00:00:00 2001 From: Reed Nelson Date: Sat, 19 Aug 2023 15:25:56 -0500 Subject: [PATCH] sitemap --- astro.config.mjs | 2 +- public/robots.txt | 4 +++- src/layouts/Base.astro | 1 - src/layouts/DrinkSingle.astro | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 6ed4833..19b670b 100755 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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: [ diff --git a/public/robots.txt b/public/robots.txt index 9ea0e6f..7b7a1a8 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,6 @@ User-agent: * Allow: / -Disallow: /api/* \ No newline at end of file +Disallow: /api/* + +Sitemap: https://reednel.com/sitemap-index.xml diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 1a68f0e..a2c5f1e 100755 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -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"; diff --git a/src/layouts/DrinkSingle.astro b/src/layouts/DrinkSingle.astro index 4d48411..1f51a8f 100644 --- a/src/layouts/DrinkSingle.astro +++ b/src/layouts/DrinkSingle.astro @@ -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: {