Skip to content

hxlog/prologue.dev

Repository files navigation

Prologue Blog

Next.js + Tailwindcss + Contentlayer + Markdown/MDX Blog

这是一个由Next.js生态拼凑而生的博客。

Features

  • Content Focused, Contentlayer +MD/MDX

  • Adaptive dark mode

  • Full SEO, Opengraph + JSON-LD + RSS

  • Lightweight search engine, powered by Fuse.js

  • 专注于内容创作,支持markdown/mdx

  • 自适应黑暗模式

  • 完整的SEO支持,支持Opengraph、JSON-LD和RSS

  • 轻量级的搜索引擎,Fuse.js实现全文搜索和模糊搜索

  • 支持mermaid渲染

Index Screenshot

Post Screenshot

Get Started

Want a clean fork-ready template (no personal posts)? Use the starter branch.

想直接使用精简模板(不包含作者历史文章)?请使用 starter 分支。

Deploy with Vercel

git clone -b starter https://github.com/hxlog/prologue.dev.git my-blog
cd my-blog
npm install
npm run dev

You can easily customize this site, all configurations are in /data, static files are in /public.

你可以很容易自定义网站,所有配置文件都在 /data 目录,静态文件存放在 /public

Maintainer sync (masterstarter):

npm run publish

Configuration

Post Frontmatter

---
title: title
description: description
publishDate: 2022-11-13
(required)

lastmod: 2023-07-02
featured: true
tags: ["tag1","tag2"]
image: /static/photos/06.jpg
imageDesc: This is a static file
(optional)
---

Page Frontmatter

title: title
description: description
(required)

About

A content-first blog starter built with Next.js 16, Contentlayer2, and Markdown.一个面向内容创作者与开发者的现代博客模板:支持 Markdown/MDX、公式、Mermaid、Feed、SEO、搜索与暗黑模式,并保持简单的配置驱动体验。

Topics

Resources

Stars

40 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors