diff options
author | vvveiii <cntrump@gmail.com> | 2019-11-28 08:20:07 +0300 |
---|---|---|
committer | vvveiii <cntrump@gmail.com> | 2019-11-28 08:20:07 +0300 |
commit | f327de68a4edc442b64fd34e3438817fafd54468 (patch) | |
tree | 3e5bd9172f41828e6d2cc0971405a403cdbd3182 /README.md | |
parent | 835a87abe1f5406c070487094312a71af96c0f41 (diff) |
v1.0.0v1.0.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 40 |
1 files changed, 40 insertions, 0 deletions
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. |