Skip to content

Commit

Permalink
⏲️ Vercel Web Analytics && Style update -> 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EveSunMaple committed Aug 4, 2024
1 parent 3949fdc commit 713c01f
Show file tree
Hide file tree
Showing 10 changed files with 1,367 additions and 317 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,24 @@

- 修复在文章过多时分页失效的问题
- 修复在 issue #11 中提到的问题

## [2.5.1] - 2024-8-4

### Features

- 修改了 README
- 添加了 Vercel Web Analytics (不使用 vercel 的用户需要注意一下)

### Refactored

- 改善了整体排版,现在段落之间更清楚了
- 修复了页脚一些奇怪的居中问题
- 更换了 Footnotes 的卡片颜色
- 删除了底部版权信息卡片的阴影
- 添加了表格每一行的分割线
- 把 <code> 的字体稍微改大了一点

### Fix

- 修复在文章过多时分页失效的问题
- 修复在 issue #11 中提到的问题
7 changes: 6 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ import tailwind from "@astrojs/tailwind";
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
import playformCompress from "@playform/compress";
import vercel from '@astrojs/vercel/static';
import pagefind from "astro-pagefind";
import icon from "astro-icon";

// https://astro.build/config
export default defineConfig({
site: 'https://www.saroprock.com',
site: 'https://frosti.saroprock.com',
output: 'static',
adapter: vercel({
webAnalytics: { enabled: true }
}),
style: {
scss: {
includePaths: ['./src/styles']
Expand Down
Loading

0 comments on commit 713c01f

Please sign in to comment.