diff --git a/src/components/shortcodes/FediStatuses.astro b/src/components/shortcodes/FediStatuses.astro deleted file mode 100644 index e5618f4..0000000 --- a/src/components/shortcodes/FediStatuses.astro +++ /dev/null @@ -1,623 +0,0 @@ ---- - ---- -{/* WIP: a Fediverse Statuses Component*/}} -{/* mainly made for Hugo, src code https://github.com/BlockG-ws/hugo-theme-laboratory/blob/master/layouts/_default/statuses.html */} -{/* reworked some parts to make it work in astro */}} -

My Status

-
-
-
Loading...
-
- -
- - \ No newline at end of file diff --git a/src/config.ts b/src/config.ts index 5da6266..653b833 100644 --- a/src/config.ts +++ b/src/config.ts @@ -40,9 +40,8 @@ export const siteConfig = { // it will search for the post's link by default renderOnServer: false, // render comments on server-side or client-side, may different from the astro config // the comments are rendered at the client side by default - // but if you want to deploy site on Cloudflare pages or other services that supported by astro adapters you can set it to true. - // you may get warning from the console about the project not containing any server rendered page, but it is ok. - // to fix this add a `export const prerender = false` to Comments.astro + // but if you want to deploy site on Cloudflare pages or so you can set it to true. + // (but in pure SSG mode, the comments will be rendered at build time, which mean delayed updates,maybe?) // a reverse proxy is recommended in pure client-side rendering mode to get the posts from the fediverse instance // that requires to be authorized to use search api the instance useReverseProxy: false, diff --git a/src/content/pages/test.mdx b/src/content/pages/test.mdx index f2df1b8..2f6b370 100644 --- a/src/content/pages/test.mdx +++ b/src/content/pages/test.mdx @@ -3,9 +3,7 @@ title: 'Test Page' description: 'This is a test page' --- import BlogRoll from "../../components/shortcodes/BlogRoll.astro" -import FediStatuses from "../../components/shortcodes/FediStatuses.astro" testestestest - - \ No newline at end of file + \ No newline at end of file