Skip to content

Commit

Permalink
docs: add Customize Your Homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
xianmin committed Oct 31, 2024
1 parent d7571be commit a1bb1b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions exampleSite/content/post/Jane-Theme-V3-Major-Update.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ weight: 1

## Update Content
- Use [Pico CSS](https://picocss.com/) as the color scheme, allowing theme color switching and dark/light mode toggle.
- Customize Your Homepage.
- Added STYLE SETTINGS, located at `/assets/sass/_settings.scss` .
- Deprecated the Category page, merging it into the Archive page.

Please note that due to the extensive modifications, some areas may still need refinement. I appreciate your understanding!

<!--more-->

## Customize Your Homepage
Copy `/exampleSite/content/_index.md` to your website's `/content/_index.md` and modify the parameters inside.

For multilingual sites, please create corresponding `_index.language.md` files, such as `_index.zh-cn.md` .

## Personalize Your Website
Copy `/assets/sass/_settings.scss` and `/assets/sass/_custom.scss` to your website's root directory (Note: maintain the same path and file names).

Expand Down
6 changes: 6 additions & 0 deletions exampleSite/content/post/Jane-Theme-V3-Major-Update.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ weight: 1

## 更新内容
- 使用 [Pico CSS](https://picocss.com/) 作为配色方案,可切换主题颜色,可切换 dark / light 模式。
- 可自定义 home page 展示内容。
- 添加 STYLE SETTINGS ,位于 /assets/sass/_settings.scss ;
- 弃用 Category 页面,合并到 Archive 页面。

由于修改的地方比较多,还有很多地方不完善,请您谅解!

<!--more-->

## 自定义你的主页
`/exampleSite/content/_index.md` 复制到你的网站 `/content/_index.md` ,修改里面的参数。

如果是多语言站点,请创建相应的 `_index.language.md` , 比如 `_index.zh-cn.md`

## 通过 STYLE SETTINGS 个性化你的网站
`/assets/sass/_settings.scss``/assets/sass/_custom.scss` 复制到你的网站根目录下(注意:路径名、文件名要一致)。

Expand Down

0 comments on commit a1bb1b0

Please sign in to comment.