Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWGX Blog

Markdown 文章仓库,写好丢进 posts/ 就自动出现在 dwgx.github.io

A Markdown-only content repo — drop a .md file into posts/ and it shows up on dwgx.github.io.

Overview / 概述

This repository holds written content for the DWGX personal site: blog posts, drafts, and metadata. No rendering code lives here. Each post is a Markdown file with YAML frontmatter that dwgx.github.io pulls in and renders as a card-style blog / devlog.

DWGX 个人站点的内容源仓库,只存博客文章、草稿和元数据,不含站点渲染代码。每篇文章是一个带 YAML frontmatter 的 Markdown 文件,由 dwgx.github.io 拉取并渲染成卡片式博客/开发日志。

Features / 功能

  • Pure Markdown content, zero build steps in this repo
  • Per-post YAML frontmatter controls title, date, tags, author, and presentation
  • Card size control: small / medium / large / full
  • Post types: text / image / link / log (dev log style, compact monospace)
  • Pinning (pin), custom accent color (color), visibility (public | unlisted)
  • index.txt lists post filenames, posts/ holds the content

  • 纯 Markdown 内容,本仓库零构建步骤
  • 每篇文章通过 YAML frontmatter 控制标题、日期、标签、作者与展示样式
  • 卡片尺寸:small / medium / large / full
  • 文章类型:text / image / link / log(开发日志风格,紧凑等宽)
  • 支持置顶(pin)、自定义强调色(color)与可见性(visibility: public | unlisted)
  • index.txt 列出文章文件名,posts/ 存放正文

Project Structure / 项目结构

.
├── posts/            # Markdown 文章 (每篇一个文件)
│   ├── 2026-04-14-dev-history.md
│   └── 2026-06-29-june-devlog.md
├── index.txt         # 文章文件名列表
├── README.md
├── SECURITY.md
├── LICENSE           # All rights reserved
└── .gitignore

Authoring a Post / 写文章

Add a .md file to posts/ with frontmatter at the top:

posts/ 新建一个 .md 文件,顶部加 frontmatter:

---
title: Post title
date: 2026-04-14
tags: [tag1, tag2]
author: DWGX
size: medium        # small | medium | large | full
color: "#4f8ff7"    # accent color for card border/glow
pin: false          # pinned to top
type: text          # text | image | link | log
image: url          # cover image (for image type)
link: url           # external link (for link type)
visibility: public  # public | unlisted
---

Card Sizes / 卡片尺寸

Value Description
small 1 column, compact
medium 1 column, normal (default)
large 2 columns wide
full full width

Types / 文章类型

Value Description
text Standard article card
image Image-focused card with cover
link External link card with arrow
log Dev log / changelog style (compact, monospace)

Tech Stack / 技术栈

  • Content format: Markdown + YAML frontmatter
  • Rendering happens on the external site dwgx.github.io, not in this repo

Status / 状态

Personal blog content repo, actively updated. Currently contains dev-log style posts.

个人博客内容仓库,持续更新中。当前包含开发日志类文章。

License / 许可证

See LICENSE. Copyright dwgx, all rights reserved. No copying, redistribution, modification, sublicensing, or commercial use without written permission. Brief quotation and linking permitted under applicable law.

LICENSE。版权归 dwgx 所有,保留所有权利。未经书面许可,不得复制、再分发、修改、再授权或商业使用。允许在适用法律范围内进行简短引用与链接。

About

DWGX Blog — Markdown articles

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors