Skip to content

yingyu5658/hugo-theme-concise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concise

A minimalist Hugo theme focused on writing.

homepage post single


Features

  • Extremely Minimalist Design
  • No Unnecessary Features
  • Focus on the Essence of Blogging

Quick Start

git clone https://github.com/yingyu5658/hugo-theme-concise.git themes/concise

Add the following configuration to hugo.toml in your site's root directory:

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 = "Archives"# Posts archive
url = "/post"

[[params.homepage.content]]
name = "Links"# Friend links
url = "/links"

[[params.homepage.content]]
name = "About"
url = "/about"

[[params.homepage.content]]
name = "RSS"
url = "/atom.xml"

[params.footer]
content = "Email: YOUR_EMAIL"

[markup.highlight]
noClasses = true
style = "emacs"# Options: github, emacs, solarized-light, etc.

[outputFormats.RSS]
baseName = "atom"

Comments

  • Waline Comment System Support

Modify serverURL in layouts/_default/single.html:

<script type="module">
import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
init({
el: '#waline',
serverURL: '' // ← Replace with your Waline server URL
});
</script>

About

A concise hugo theme. Concentrate on writing. 一个简约的Hugo主题。专注于写作。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors