You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.3 KiB

10 years ago
9 years ago
9 years ago
  1. # Cactus Theme
  2. Cactus is a minimalistic theme for bloggers based on the default theme of the same-named [Cactus static site generator](//github.com/koenbok/Cactus) written in Python and [Nick Balestra](//github.com/nickbalestra/kactus)'s Jekyll port. Noteworthy features of this Hugo theme are the integration of a comment-system powered by Disqus, a customizable about page, support for RSS feeds, syntax highlighting for source code and sharing options for blog posts.
  3. ![Screenshot](https://github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/images/screenshot.png)
  4. ## Contents
  5. - [Installation](#installation)
  6. - [The config file](#the-config-file)
  7. - [About page](#about-page)
  8. - [Disqus](#disqus)
  9. - [Nearly finished](#nearly-finished)
  10. - [Contributing](#contributing)
  11. - [License](#license)
  12. - [Annotations](#annotations)
  13. ## Installation
  14. Inside the folder of your Hugo site run:
  15. $ mkdir themes
  16. $ cd themes
  17. $ git clone https://github.com/digitalcraftsman/hugo-cactus-theme.git
  18. For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo.
  19. ### The config file
  20. Take a look inside the [`exampleSite`](//github.com/digitalcraftsman/hugo-cactus-theme/tree/dev/exampleSite) folder of this theme. You'll find a file called [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml).
  21. To use it, copy the [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml) in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.
  22. ## About page
  23. Use the about page to introduce yourself to your visitors. You can customize the content as you like in the [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml). Furthermore, you should replace the [avatar placeholder](//github.com/digitalcraftsman/hugo-cactus-theme/blob/master/static/images/avatar.png) with a great image of yourself.
  24. ## Disqus
  25. This theme features a comment system powered by Disqus too. Just add your Disqus-shortname to the [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml) and let readers respond to your blog posts.
  26. ## Social link icons
  27. You can add a social link panel in the footer by adding entries to the [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml). The icons uses fonts from the [mono social icons](https://github.com/drinchev/monosocialiconsfont) project. There are 3 styles of icon - circle, rounded, or default(empty).
  28. ## Nearly finished
  29. In order to see your site in action, run Hugo's built-in local server.
  30. $ hugo server
  31. Now enter [`localhost:1313`](http://localhost:1313) in the address bar of your browser.
  32. ## Contributing
  33. Did you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](//github.com/digitalcraftsman/hugo-cactus-theme/issues) to let me know. Or make directly a [pull request](//github.com/digitalcraftsman/hugo-cactus-theme/pulls).
  34. ## License
  35. This theme is released under the MIT license. For more information read the [License](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/LICENSE.md).
  36. ## Annotations
  37. Thanks to [Steve Francia](//github.com/spf13) for creating Hugo and the awesome community around the project.