1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30

feat: redesign my webiste from scratch

- remove hugo and paper box theme
- inspiration https://jay.fish
- use astro based system

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-02-25 19:46:43 +05:30
committed by Morumotto
parent 62efd95607
commit 6b07ea345f
145 changed files with 10397 additions and 90 deletions
+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import rehypeImageAlign from "./src/lib/rehype-image-align.ts";
import rehypeSlug from "rehype-slug";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
export default defineConfig({
site: "https://avinal.space",
output: "static",
integrations: [sitemap()],
markdown: {
shikiConfig: {
theme: "github-dark-default",
},
rehypePlugins: [
rehypeImageAlign,
rehypeSlug,
[
rehypeAutolinkHeadings,
{
behavior: "append",
properties: { className: ["heading-anchor"], ariaLabel: "Link to this section" },
content: { type: "text", value: "#" },
},
],
],
},
});