A fast, minimalist and responsive hugo theme for bloggers.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
nodejh 8b2647b4f3 Support twitter card 7 years ago
archetypes remove default tags and categories: x, y 7 years ago
exampleSite Support twitter card 7 years ago
images update example site 8 years ago
layouts Support twitter card 7 years ago
static Support twitter card 7 years ago
.gitignore 添加多说评论系统 8 years ago
CHANGELOG Support twitter card 7 years ago
LICENSE.md update LICENSE 7 years ago
README.md Support twitter card 7 years ago
README_zh-cn.md Support twitter card 7 years ago
theme.toml Support twitter card 7 years ago

README.md

Hogu Theme Cactus Plus

English Document | 中文文档

Cactus Plus is a minimalistic theme for bloggers based on the theme named Cactus.

Features

  • More beautiful style
  • Tags page
  • Archive page
  • Disqus comment-system
  • Both Google Analytics and Baidu Analytics for site analytics.
  • Table of Content
  • Twitter Card

Here's the link to online demo: http://nodejh.com.

Screenshot

home page

Screenshot

tags page

Screenshot archive page

Screenshot

Installation

First clone the theme to your themes directory:

$ cd themes
$ git clone https://github.com/nodejh/hugo-theme-cactus-plus.git

Take a look inside the exampleSite folder of this theme. You'll find a file called config.toml.

To use it, copy the config.toml in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.

And you may replace your site archetypes/default.md with hugo-theme-cactus-plus/exampleSite/archetypes/default.md

For more information read the official setup guide of Hugo.

Example Site

There is an example site with config file and markdown files in exampleSite directory.

Posts Summary

Summary will show follow the post title title in home page.

And if you want to use description property that in post's fromt matter to instated of post's content summary, set useDescriptionReplaceSummary = true.

To use the content summary, you may add the <!--more--> summary divider where you want to split the article alternatively. For org content, use # more where you want to split the article. Content that comes before the summary divider will be used as that contents summary.By default, Hugo automatically takes the first 70 words of your content as its summary. See also https://gohugo.io/content-management/summaries/.

About page

Use the about page to introduce yourself to your visitors. You can customize the content as you like in the /content/about/_index.md.

Avatar

Furthermore, you should replace the avatar placeholder with a great image of yourself.

Hide pages

Pages can be hidden and don't appear in the post list on the homepage if you add the variable hidden = true to the frontmatter. This allows you to link from elsewhere, i.e. just the menu.

Disqus

This theme features a comment system powered by Disqus. Just add your Disqus-shortname to the config.toml and set enableDisqus = true, then let readers respond to your blog posts.

You can add a social link panel in the footer by adding entries to the social block in the config.toml. You can choose between two icon fonts:

Assign either font-awesome or mono-social to the iconFont variable. The Mono social icons offer three styles of icons: -circle, rounded, or default (empty).

Nearly finished

In order to see your site in action, run Hugo's built-in local server.

$ hugo server

Now enter localhost:1313 in the address bar of your browser.

License

This theme is released under the MIT license. For more information read the license.