三國大傳:諸葛對司馬
2025-01-26 in 非關 IT
諸葛亮 如果說諸葛亮給魏延留的是一條生死間半的路,而留給楊儀的則是一條最多不過賦閒置散而已的生路。顯然,諸葛亮在死時,已下決心「拋棄」了他們,這對於二者都是一種可悲的結局,但孔明並不肯把事情做絕,他一 …
Customizing Hugomods Icon Grid
2024-11-10 in Hugo & Docsy
References Source code: hugomods/bootstrap - icon-grid.html Documents: Bootstrap Icon Grid Shortcode …
Hugo Blockquote Render Hook
2024-09-09 in Hugo & Docsy
Hugo supports blockquote render hooks since v0.132.0, which makes it easy to create beautiful alert …
A Hugo image render hook that supports width parameter
2024-07-10 in Hugo & Docsy
This post shows how I support image width with the URL query parameter width. Hugo version: 0.128.2 …
GitLab pages for different branches
2024-07-08 in IT 雜七雜八
Attempt 1 Stack Overflow: Deploying GitLab pages for different branches It doesn't work because each …
認識 Tailwind CSS
2024-06-26 in IT 雜七雜八
Hugo 昨天(2024-06-25)發布了 v0.128.0,其 release note 提到這次加入了 TailwindCSS v4 (alpha)。我對前端技術相當陌生, …
API design-first 方法的挑戰
2024-06-06 in IT 雜七雜八
底下框框內的文字是 Copilot 幫我產生的內容(已棄用): AI 提供的文字 API design-first 是一種強大的方法,用於構建強大且可擴展的 API。然而,它也帶來了一系列的挑戰。在這 …
Hugo - Multilingual with language fall back
2024-05-22 in Hugo & Docsy
See discussion: How to automatically fallback to the default language when a requested page doesn't …
[Hugo] Implementing contributors
2024-05-11 in Hugo & Docsy
This post describes how to add contributors to each page by modifying Docsy's default content …