forked from nodejh/hugo-theme-mini
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2af33fd
Showing
60 changed files
with
5,120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 [Cactus Authors](//github.com/koenbok/Cactus/blob/master/AUTHORS), [Nick Balestra](//github.com/nickbalestra) and [digitalcraftsman](//github.com/digitalcraftsman) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Cactus Theme | ||
|
||
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. | ||
|
||
|
||
![Screenshot](https://raw.githubusercontent.com/digitalcraftsman/hugo-cactus-theme/dev/images/screenshot.png) | ||
|
||
|
||
## Installation | ||
|
||
Inside the folder of your Hugo site run: | ||
|
||
$ cd themes | ||
$ git clone https://github.com/digitalcraftsman/hugo-cactus-theme.git | ||
|
||
For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo. | ||
|
||
### The config file | ||
|
||
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). | ||
|
||
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. | ||
|
||
## About page | ||
|
||
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. | ||
|
||
## 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 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. | ||
|
||
## Social link icons | ||
|
||
You can add a social link panel in the footer by adding entries to the `social` block in the [`config.toml`](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/exampleSite/config.toml). You can choose between two icon fonts: | ||
|
||
- [Font awesome](https://fortawesome.github.io/Font-Awesome/) or | ||
- [Mono social icons](https://github.com/drinchev/monosocialiconsfont) | ||
|
||
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`](http://localhost:1313) in the address bar of your browser. | ||
|
||
|
||
## Contributing | ||
|
||
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). | ||
|
||
Please create a separate branch for your pull request. | ||
|
||
|
||
## License | ||
|
||
This theme is released under the MIT license. For more information read the [license](//github.com/digitalcraftsman/hugo-cactus-theme/blob/dev/LICENSE.md). | ||
|
||
|
||
## Acknowledgements | ||
|
||
Thanks to | ||
|
||
- [Nick Balestra](//github.com/nickbalestra/kactus) for creating the original theme | ||
- [Steve Francia](//github.com/spf13) for creating Hugo and the awesome community around the project. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
+++ | ||
title = "" | ||
description = "" | ||
tags = ["x"] | ||
categories = ["y"] | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public/ | ||
themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Site settings | ||
baseurl = "http://replace-this-with-your-domain.com/" | ||
languageCode = "en-us" | ||
title = "Hugo Cactus Theme" | ||
theme = "hugo-cactus-theme" | ||
# Enter your tracking code to enable Google Analytics | ||
googleAnalytics = "" | ||
# Disable comments by leaving disqusShortname empty | ||
disqusShortname = "spf13" | ||
|
||
[params] | ||
name = "John Doe" | ||
description = "Describe your website" | ||
bio = "Blogger - Programmer - Gopher" | ||
# Enter optionally your twitter account | ||
twitter = "Your Twitter account" | ||
enableRSS = true | ||
|
||
# Add custom assets with their paths relative to the static folder | ||
customCSS = [] | ||
customJS = [] | ||
|
||
# The variables below are optionally too and can be used to | ||
# translate or customize each string of the theme. | ||
|
||
# Navigation links | ||
home = "" | ||
about = "" | ||
subscribe = "" | ||
# Pagination links | ||
olderPosts = "" | ||
newerPosts = "" | ||
readMore = "" | ||
copyright = "" | ||
# Sharing options and author information in posts | ||
aboutAuthor = "I'm an enthusiastic gopher." | ||
tweet = "" | ||
share = "" | ||
# 404 page | ||
title404 = "" | ||
subtitle404 = "" | ||
|
||
# Choose a font for the social icons in the footer. Either "mono-social" or "font-awesome" | ||
iconFont = "mono-social" | ||
# The social icons can be styled differently if you use mono as font - circle, rounded, or empty | ||
socialIconStyle = "circle" | ||
|
||
# Add additional social link entries underneath | ||
[social] | ||
twitter = "https://www.twitter.com/" | ||
facebook = "https://www.facebook.com/" | ||
github = "https://www.github.com/" | ||
dribble = "https://www.dribbble.com/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
+++ | ||
date = "2015-06-20T14:02:37+02:00" | ||
title = "About" | ||
hidden = true | ||
+++ | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa ullam earum dolorum! Sed, perspiciatis. | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. | ||
|
||
*** | ||
|
||
### Lorem ipsum dolor. | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ea dicta corporis ad inventore itaque impedit dolor atque amet exercitationem! Veniam qui voluptas maiores vel laudantium necessitatibus, velit ducimus! Iste hic facere, accusamus fugiat enim facilis. |
Oops, something went wrong.