跳到主要內容
only26k's blog
返回

歡迎來到 only26k 的部落格

編輯此頁

這是這個部落格的第一篇文章 🎉

這個部落格用 Astro 搭配 AstroPaper 主題建置,程式碼放在 GitHub,透過 Cloudflare Pages 自動部署。

這裡會寫些什麼

如何新增一篇文章

  1. src/content/posts/ 底下新增一個 .md 檔(例如 my-post.md)。
  2. 在最上方填寫 frontmatter:
---
author: only26k
pubDatetime: 2026-06-17T01:00:00Z
title: 文章標題
slug: my-post
featured: false
draft: false
tags:
  - 筆記
description: "這篇文章的摘要,會用在 SEO 與社群分享。"
---
  1. 在底下用 Markdown 寫內容。
  2. git push,Cloudflare Pages 會自動建置並上線。

小提醒:把 draft 設成 true 可以先存草稿不公開;featured: true 會讓文章出現在首頁精選區。

開始寫吧!


編輯此頁
分享這篇文章: