From 70c5a2b6fb60bd90e7780fa220bfe146141d00e2 Mon Sep 17 00:00:00 2001 From: yingyu5658 Date: Fri, 1 Aug 2025 21:30:53 +0800 Subject: Initial commit --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..9105f9b --- /dev/null +++ b/README.md @@ -0,0 +1,57 @@ +# Concise + +一个简约的Hugo主题。专注于写作。 + +## Features + +- 极致简约设计 +- 无多余功能 +- 回归博客本质 + +## Quickstart + +```bash +git clone https://github.com/yingyu5658/hugo-theme-concise.git themes/concise +``` + +在站点根目录`hugo.toml`中填入以下配置: + +```toml +baseURL = "..." +publishDir = "public" +title = "YOUR_WEBSITE_TITLE" +description = "SUBTITLE" +languageCode = "zh-CN" +theme = ["concise"] +pagination = { pagerSize = 25 } + +[permalinks] +posts = "YOUR_PERMALINKS" + +[params] +[[params.homepage.content]] +name = "文章归档" +url = "/post" + +[[params.homepage.content]] +name = "友情链接" +url = "/links" + +[[params.homepage.content]] +name = "关于" +url = "/about" + +[[params.homepage.content]] +name = "RSS" +url = "/atom.xml" + +[params.footer] +content = "Email: YOUR_EMAIL" + +[markup.highlight] +noClasses = true +style = "emacs" #github、emacs、solarized-light 等 + +[outputFormats.RSS] + baseName = "atom" +``` -- cgit v1.2.3