Skip to content

Commit 587f817

Browse files
committed
refactor: modernize UI and standardize content hierarchy
- UI/UX Refinement: Removed 'TOC' titles, simplified active states, removed heading underlines. - Mobile Support: Added a robust TOC fallback for small screens with auto-hide logic. - Content Overhaul: Standardized monthly post hierarchy (##/###) and adopted $section.id. - Cleanup: Link normalization, title date stripping, and removal of build artifacts. - Bug Fixes: Addressed review feedback and fixed script comment conversion errors.
1 parent 3aa6ccd commit 587f817

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

content/post/2024-08-12-zoop.smd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ zoop.Mixin(Child) = struct {
337337
- `getVtable`: 根据接口名获得接口 `Vtable` 的函数
338338
- `getSuperPtr`: 根据父类名获得 `mixin.data` 中父类指针
339339

340-
根据对 `mixin` 数据的分析,zoop 的类型转换的原理就很清楚了,大家可以参考官网上关于 [类型转换](https://zhuyadong.github.io/zoop-docs/guide/as-cast) 的内容。
340+
上面两个函数获取的都是最外层对象的数据。根据对 `mixin` 数据的分析,zoop 的类型转换的原理就很清楚了,大家可以参考官网上关于 [类型转换](https://zhuyadong.github.io/zoop-docs/guide/as-cast) 的内容。
341341

342342
## [动态构造类的方法、接口方法、和 `Vtable`]($section.id('dynamically-constructing-class-methods-interface-methods-and-vtable'))
343343

content/post/2025-07-19-zine-migration.smd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ Scripty 作为表达式语言,其威力在条件和嵌套逻辑中得以体现
109109
以下是使用 Pandoc 将 `.org` 文件批量转换为 Markdown 格式(并重命名为 `.smd`)的 Fish 脚本,此方法同样适用于 `.md` 文件:
110110

111111
```fish
112-
**注意**:这里实际上是转换到了 GitHub Flavored Markdown (gfm) 格式
113-
**后续仍需手动调整**以完全适配 smd 语法
112+
# 注意:这里实际上是转换到了 GitHub Flavored Markdown (gfm) 格式
113+
# 后续仍需手动调整以完全适配 smd 语法
114114
for f in *.org
115115
pandoc -s $f -t gfm -o (path change-extension "smd" $f)
116116
end

0 commit comments

Comments
 (0)