From f327de68a4edc442b64fd34e3438817fafd54468 Mon Sep 17 00:00:00 2001 From: vvveiii Date: Thu, 28 Nov 2019 13:20:07 +0800 Subject: v1.0.0 --- README.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..2235cc6 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# hugo-notepadium ![](https://img.shields.io/badge/license-MIT-blue.svg) + +a fast [gohugo](https://gohugo.io) theme, HTML + CSS, 100% JavaScript-free. + +- built-in `syntanx highlight` +- custom `404 page` + +![](https://lvv.me/posts/2019-11-24_a_simple_hugo_theme/01.png) + +the core CSS is `core.css`, transferred size < 3KB. + +preview this theme: https://lvv.me + +## Quick Start + +```shell +git submodule add https://github.com/cntrump/hugo-notepadium.git themes/hugo-notepadium +``` + +demo `config.toml`: + +```toml +baseURL = "/" +languageCode = "zh-cn" +title = "Lvv's notepad" +theme = "hugo-notepadium" +copyright = "Copyright ©2019 lvv. All rights reserved." +hasCJKLanguage = true +enableRobotsTXT = true +paginate = 5 +pygmentsUseClasses = true +pygmentsCodeFences = true +pygmentsCodeFencesGuessSyntax = true +``` + +custom your `404 page`: + +add `/* /404.html 404` to your `content/_redirects` + +if `_redirects` not exists, you can create a new one. -- cgit v1.2.3