Simple blog theme for hugo http://roperzh.github.io/tinyce-hugo-theme/
CSS HTML JavaScript
Latest commit fd30d91 Jan 11, 2017 @roperzh committed on GitHub Merge pull request #15 from duckbrain/feature/font-awesome-update
Updated font awesome (and grunt)
Permalink
Failed to load latest commit information.
archetypes Add a default archetype, which includes the color and the icon attrib… Aug 9, 2014
images
layouts
source/sass
static Updated grunt versions and dependencies. Built css. Jan 10, 2017
.gitignore
Gruntfile.js Issue #7 - Add a task to watch for file changes and refresh the build Feb 15, 2015
LICENSE.md Update the LICENSE file with personal data about the author Aug 8, 2014
README.md
package.json
theme.toml Fix deprecated Hugo-vars and functions Jul 7, 2015

README.md

Tinyce

Tinyce is a general-purpose Hugo theme.

screenshot - 08092014 - 07 02 07 pm

You can check the live version here.

Getting started

Once you have Hugo up and running, you must:

Create a Hugo project:

$ hugo new site my-site

And then install tinyce:

$ cd themes
$ git clone https://github.com/roperzh/tinyce-hugo-theme

If you are using Hugo v0.11 or below, please read this

Now you can set tinyce as the default theme for your site by adding this line in the config file:

theme = "tinyce-hugo-theme"

Or you can start the server with:

hugo server --theme=tinyce-hugo-theme --buildDrafts --watch

Setting Variables

Tinyce needs a custom archetype in order to work properly, behind the covers you will only need to define two new variables in the front matter section of your contents.

  • color : the color associated with the post, valid colors are: red, green, blue, yellow, orange and grey.

  • icon : a valid font-awesome icon name, without the fa- prefix. For example, instead of fa-heart, you only need to put heart. here is a cheatsheet of valid icons.

Example

+++
Categories = ["Development", "GoLang"]
Description = "My short description"
Tags = ["Development", "golang"]
color = "green"
icon = "heart"
title = "Go is cool"
date = 2014-08-09T05:04:40Z
+++

Usage with Hugo v0.11 and below

The latest version of the theme includes some features bundled with Hugo v0.12, if you are using an old version, please install tinyce like this:

$ cd themes
$ git clone https://github.com/roperzh/tinyce-hugo-theme
$ cd tinyce-hugo-theme
$ git checkout 08a497

That's it!

Contributing

  1. Fork it

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am 'Add some feature')

  4. Push to the branch (git push origin my-new-feature)

  5. Create new Pull Request