diff --git a/.env b/.env new file mode 100644 index 0000000..74b495e --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +DEFAULT_TITLE=Valentin Popov’s Technology Blog +DEFAULT_DESCRIPTION=Tech insights and coding best practices from an OpenSource enthusiast and ethical hacker. \ No newline at end of file diff --git a/src/components/Comments.astro b/src/components/Comments.astro index 5fcd65d..f9ae4e5 100644 --- a/src/components/Comments.astro +++ b/src/components/Comments.astro @@ -14,7 +14,6 @@ const theme = "transparent_dark"; --- +> diff --git a/src/components/Head.astro b/src/components/Head.astro index bc5609f..42ae32b 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -1,17 +1,20 @@ --- const canonicalURL = new URL(Astro.url.pathname, Astro.site); + +const { title, description } = Astro.props; ---
- - - - - + + + + + + -
diff --git a/src/pages/feed.xml.js b/src/pages/feed.xml.js
index a509386..c837202 100644
--- a/src/pages/feed.xml.js
+++ b/src/pages/feed.xml.js
@@ -6,7 +6,7 @@ export async function GET(context) {
return rss({
customData: `
+