關於網誌的小事們

這裡很想引用一句古文名言,關於耕耘什麼的,但想不到能引用哪一句。總之網誌無本經營,請勿 那個。

部落格的生日

2026-07-10標籤:網誌二三事

這個部落格其實是二代站,在這之前有個一代站,是我在玩過 Hexo 與 Hugo 之後,決定自己手刻 HTML 下的產物。

留言區 take 2

2026-07-01標籤:網誌二三事

部落格的老朋友,尤其是小站上的朋友們,也許記得我的上一個留言區實作是透過我將文章連結發到小站上,再抓小站上的留言放到網誌上的留言區。但在六月因為兇狠的爬蟲過多的關係,站長關掉了小站時間軸的對外存取,連帶地讓網誌留言也失效。

留言區測試

2024-09-27標籤:網誌二三事

在站上新增了來自聯邦宇宙的留言顯示功能,還沒打一小段介紹文,但應該已經可以用了(?)歡迎大家一起測試。

將 Pandoc 處理的 Markdown 圖片套上 lazy-loading 屬性

2024-09-16標籤:網誌二三事

在寫上一篇 Haiku Beta R5 試用 的時候,因為圖很多、不想影響載入速度,於是搜尋起了如何讓 Pandoc 在轉換 Markdown 的時候套上 lazy-loading 的屬性。於是找到了這篇 Github Issue:HTML5 feature: lazy loading images,其中 jgm(Pandoc 維護者)提到,只要使用 3 行的 Lua 過濾器就能輕鬆達成這個目的:

ltlnx’s Blog Updater

2023-11-27標籤:網誌二三事

This is ltlnx’s blog updater: it takes a source directory with Markdown files, a “header” and a “footer”, converts them to HTML, and copies them to the desired destination directory.

Languages, Translation, and Blogging

2023-10-02標籤:網誌二三事

First of all, I definitely should blog more, to push more thoughts into the wild and reiterate on what I’ve read or done. The problem is: which language should I do it in?

One Year of Blogging

2023-08-01標籤:網誌二三事

I just realized that it’s been over one year since I scrapped the old site and started a new one, and rolled my own Bash script to convert and update the files. Maybe it’s time for a retrospective into the website!

我在重寫網站 CSS 時發現的各種事

2023-03-19標籤:網誌二三事

最近我重新寫過了整個網站的 CSS,讓網站煥然一新。我一直以來很欣賞像是 Slackware 首頁 或是一些 GNU 說明文件網頁的風格,因此這次重寫就是以這幾個網頁為參考標準。

使用 CSS 與一點魔法,在 HTML 中英文交界加入空格

2022-10-08標籤:網誌二三事

最近開始寫中文的Public Logs,寫一寫總會去預覽一下排起來的樣子。但寫最近一篇Week 39的時候,卻越看越不對勁:為什麼中文字跟英文字之間,一點空格都沒有?身為對字體排版還算有點要求的人,這種狀況實在是令人不爽。因此我開始尋找將中英稍微隔開來的方法。

Disclosure on the Influence of Opinions

2022-06-28標籤:網誌二三事

Recently I came across Damien’s Blog because of a font he created — Envy Code R. The font itself is a good mixture of old and new, with Terminus-style boldfaces (which I like a lot and feel like too little monospaced fonts does this), and a generally pretty clean appearance. Sadly the font was still in beta, and has not seen progress since 2008. As the comments on the page stated, it would be appreciated if new versions can better distinguish between similar characters (0/O, I/l/1/|). But I digress.

New Blog Architecture, a Roadmap

2022-05-27標籤:網誌二三事

I have been writing blogs on Github Pages (now Codeberg Pages) since 2019, and I had always needed to add the sources and links myself, sometimes even hand-craft the HTML. For the new blog, I wish to blog completely in Markdown, and have an easy structure for conversion and the ability to automatically create the “Posts” page.

如果想讓我知道您看過這個頁面,請點擊這個連結運作原理