Skip to content

Commit

Permalink
bit of tinkering
Browse files Browse the repository at this point in the history
> added robots.txt (via astro-robots-txt)
> added sitemap
> added dayjs (for remaining time of spotify song)
> added other activites besides spotify
  • Loading branch information
byzocker committed Apr 1, 2024
1 parent 0574c2f commit b5f578a
Show file tree
Hide file tree
Showing 5 changed files with 1,011 additions and 327 deletions.
15 changes: 14 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
import { defineConfig } from 'astro/config';
import robotsTxt from "astro-robots-txt";

import sitemap from "@astrojs/sitemap";

// https://astro.build/config
export default defineConfig({});
export default defineConfig({
site: 'https://byzocker.de',
integrations: [robotsTxt({
host: 'byzocker.de',
policy: [{
userAgent: '*',
allow: '/',
crawlDelay: 2
}]
}), sitemap()]
});
Loading

0 comments on commit b5f578a

Please sign in to comment.