This is my first post for this site
这是一条样例,用来验证杂谈列表页的短帖形态。写第一条真内容时把它删掉。
杂谈的列表页会按正文长度自己决定形态,不用在 frontmatter 里手动标:
- 正文 700 字以内 → 直接在列表页展开全文,读者不用点进去
- 超过 700 字 → 只显示标题、摘要和「读全文 →」
想覆盖这个判断就加 expand: true(强制展开)或 expand: false(强制折叠),
一般用不上。
root@gpuserver1:/home/haitao# cat /dev/rshim0/misc
DISPLAY_LEVEL 0 (0:basic, 1:advanced, 2:log)
BF_MODE DPU mode
BOOT_MODE 1 (0:rshim, 1:emmc, 2:emmc-boot-swap)
BOOT_TIMEOUT 300 (seconds)
USB_TIMEOUT 40 (seconds)
DROP_MODE 0 (0:normal, 1:drop)
SW_RESET 0 (1: reset)
DEV_NAME pcie-0000:a0:00.3
DEV_INFO BlueField-3(Rev 1)
OPN_STR N/A
UP_TIME 1273149(s)
SECURE_NIC_MODE 0 (0:no, 1:yes)
FORCE_CMD 0 (1: send Force command)
短帖仍然有自己的固定链接,可以单独分享,也会进 RSS。
root@gpuserver1:/home/haitao# cat /dev/rshim0/misc
DISPLAY_LEVEL 0 (0:basic, 1:advanced, 2:log)
BF_MODE DPU mode
BOOT_MODE 1 (0:rshim, 1:emmc, 2:emmc-boot-swap)
BOOT_TIMEOUT 300 (seconds)
USB_TIMEOUT 40 (seconds)
DROP_MODE 0 (0:normal, 1:drop)
SW_RESET 0 (1: reset)
DEV_NAME pcie-0000:a0:00.3
DEV_INFO BlueField-3(Rev 1)
OPN_STR N/A
UP_TIME 1273149(s)
SECURE_NIC_MODE 0 (0:no, 1:yes)
FORCE_CMD 0 (1: send Force command)
← 回到杂谈
关于本文,有问题、使用反馈或不同的实测结果,都欢迎留言。 涉及设备实测时,请尽量附上设备型号、固件版本和测试条件。 我会在对应留言下回复,已核实的修正会补进正文。
留言需登录 GitHub。不方便使用或评论未加载时,可以邮件反馈(itscraper@hotmail.com),邮件已预填本文链接。