aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-06 11:21:27 +0300
committerValentin Popov <valentin@popov.link>2024-09-06 11:21:27 +0300
commit2f362eaf0937360a0f2a81bac41be81111fa06a8 (patch)
treec4112b7007de8f2a6dc498b81ab02ab68f126834 /astro.config.mjs
parent17c3115a0608bb7ef42c8038b36f24b2356004ec (diff)
downloadpopov.link-2f362eaf0937360a0f2a81bac41be81111fa06a8.tar.xz
popov.link-2f362eaf0937360a0f2a81bac41be81111fa06a8.zip
Added reading time timer
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index b98292c..8f03e22 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,7 +1,11 @@
import { defineConfig } from "astro/config";
+import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
import sitemap from "@astrojs/sitemap";
export default defineConfig({
site: "https://popov.link",
integrations: [sitemap()],
+ markdown: {
+ remarkPlugins: [remarkReadingTime],
+ },
});