Skip to content

ludwick/genesis-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octopress Genesis (A work in progress)

A new theme build on Octopress Ink.

Note: This theme is in alpha development. What's left to do? See the issues.

Installation

If you're using bundler add this gem to your site's Gemfile in the :jekyll_plugins group:

group :jekyll_plugins do
  gem 'octopress-genesis-theme'
end

Then install the gem with Bundler

$ bundle

To install manually without bundler:

$ gem install octopress-genesis-theme

Then add the gem to your Jekyll configuration.

gems:
  -octopress-genesis-theme

Usage

This is best demonstrated on a new Jekyll site:

  • Create a new Jekyll site.
  • Add some posts or pages.
  • Ensure that posts have the layout theme:post, and pages theme:page
  • Run jekyll server and check it out.

Configuration

To configure this theme, create a _plugins/theme/config.yml and add your settings. Here are the defaults.

# Settings for main header
title: My Octopress Blog
subtitle: A clever subtitle (optional)
 
# Links for main navigation
nav:
  - { url: '/', title: 'Home' }
  - { url: '/archive', title: 'Archive' }
  - { url: '/feed', title: 'RSS' }

# Settings for category index generator The prefix is used in page titles. The
# dir controls what path under site root to put the category pages.
category:
  prefix: Category
  dir:    category        

post_index:
  excerpt_posts: true
  permalink_label: "Permalink"
  read_more_label: "Continue Reading →"

# Center the text in post and page headings.
center-headings: true

You can also easily overwrite stylesheets, layouts, partials and basically everything about this plugin by adding a copy of that file in the _plugins/theme directory. More on that later.

Contributing

  1. Fork it ( https://github.com/octopress/genesis-theme/fork )
  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 a new Pull Request

About

A Jekyll theme build on Octopress Ink

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 66.9%
  • Ruby 33.1%