Hello World

Hello World

Welcome to Fake Mirror

这是一款基于 Go 语言开发的极简静态网站生成器。你只需在 content/posts/ 目录下用 Markdown 格式撰写内容,Fake Mirror 就可以将其渲染为静态 HTML 网站。

Features

  • Markdown 写作 — 支持通过带 YAML 前置元数据的 .md 文件撰写文章
  • Go 模板引擎 — 可在 templates/ 目录下自定义网页 HTML 样式
  • 极速构建 — 单二进制文件,依赖极简、轻量化
  • 本地开发服务 — 执行 fake-mirror test 即可本地预览网站
  • Git 一键部署 — 执行 fake-mirror push 即可通过 Git 推送部署网站

Getting Started

  • 将新建的 Markdown 文件放入 content/posts/ 目录
  • 执行 fake-mirror build 命令生成静态站点
  • 执行 fake-mirror test 命令,在 http://localhost:8080 本地预览