diff --git a/docs/images/nixos-flakes.png b/docs/images/nixos-flakes.png new file mode 100644 index 0000000..3369bc4 Binary files /dev/null and b/docs/images/nixos-flakes.png differ diff --git a/docs/index.md b/docs/index.md index 0e57f5b..0443ffc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,13 +2,15 @@ # https://vitepress.dev/reference/default-theme-home-page layout: home -title: "NixOS & Flakes Book" -titleTemplate: "An unofficial book for beginners" +titleTemplate: "Home Page" hero: name: "NixOS & Flakes Book" text: "An unofficial book for beginners" tagline: Want to know NixOS & Flakes in details? Looking for a beginner-friendly tutorial? Then you've come to the right place! + image: + src: /images/nixos-flakes.png + alt: NixOS Flakes actions: - theme: brand text: Get Started @@ -16,7 +18,6 @@ hero: - theme: alt text: View on GitHub link: https://github.com/ryan4yin/nixos-and-flakes-book - # features: # - title: Feature A # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit diff --git a/docs/zh/index.md b/docs/zh/index.md index 0cbc6e8..1ca722d 100644 --- a/docs/zh/index.md +++ b/docs/zh/index.md @@ -2,13 +2,15 @@ # https://vitepress.dev/reference/default-theme-home-page layout: home -title: "NixOS 与 Flakes" -titleTemplate: "一份非官方的新手指南" +titleTemplate: "主页" hero: name: "NixOS 与 Flakes" text: "一份非官方的新手指南" tagline: "想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!" + image: + src: /images/nixos-flakes.png + alt: NixOS Flakes actions: - theme: brand text: 开始使用 @@ -16,7 +18,6 @@ hero: - theme: alt text: "前往 GitHub 仓库" link: https://github.com/ryan4yin/nixos-and-flakes-book - # features: # - title: Feature A # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit