给你的Jekyll博客创建一个动态/说说页面
扯
很多个人博客都有自己的说说页面,所以我建议你也搞一个。
页面
在仓库根目录新建talk/index.md,文件内容如下’
---
layout: default
title: 即刻(也可以改成你喜欢的名字)
permalink: /talk/
---
<style>
.timeline{max-width:800px;margin:2rem auto;padding:0 1rem}
.talk-item{border-left:2px solid #ccc;padding:12px 16px;margin:18px 0;background:#fafafa;border-radius:0 8px 8px 0}
.talk-date{color:#888;font-size:13px;margin-bottom:6px}
</style>
<div class="timeline">
<div class="talk-item">
<div class="talk-date">2026-06-27 00:00</div>
<div><p>好喜欢这种风格。<br />
据了解应该叫极简主义。<br />
<img src="https://oldwebarchive.org/view.php/c272970a8913a4b55fe56a99ebe84c6d.jpg" alt="NightWatcher" />
<em>by ncoll36</em><br />
https://www.deviantart.com/ncoll36</p>
</div>
</div>
<div class="talk-item">
<div class="talk-date">2026-06-07 00:00</div>
<div><p>万万没想到 Twikoo弄了我一下午<br />
排了一下午的错 结果只因没加/api!<br />
我果然不是专业的</p>
</div>
</div>
</div>
这里有两篇示例说说。
文章
在文章头部的categories后输入talk,这篇文章发布后就会同步在/talk/中。
自定义
你可以修改css,用来适配黑夜模式(文中代码仅视频日光模式。
石猫博客