rwdaigle / nesta-theme-clean

A minimalist theme for Nesta CMS that focuses on content readability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Clean" Theme for Nesta CMS

The Clean theme was developed for Nesta CMS with a focus on:

  • Readability: the content should be the sole focus of the site and should be as easily consumed as possible
  • Syntax highlighting: developed by a developer for developers it should always have first-class support for syntax highlighting
  • Cloudability: the theme should always play well with cloud environments like Heroku

Screenshots

Home page/articles list

Home/article list screenshot

Article w/ TOC

Article screenshot

Syntax highlighting

Syntax highlighting screenshot

Environment dependencies

The following environment varibles are used by Clean.

  • NESTA_FEED_URL: The URL to the feed analytics/serving URL for your site, if such a service is used. Example: http://feeds.feedburner.com/RyansScraps
  • NESTA_AUTHOR__TWITTER: The author's twitter handle
  • NESTA_AUTHOR__GITHUB: The author's GitHub handle
  • NESTA_AUTHOR__LINKEDIN: The author's public LinkedIn URL shortname. Example: rwdaigle will result in http://www.linkedin.com/in/rwdaigle being used.
  • NESTA_POWERED_BY: If you want to have the small Heroku logo displayed in the footer, set this to 'true'. Delete it if you don't.

Several standard Nesta variables are also referenced and should be set for the best experience.

  • NESTA_TITLE
  • NESTA_AUTHOR__NAME
  • NESTA_AUTHOR__EMAIL
  • NESTA_AUTHOR__URI
  • NESTA_DISQUS_SHORT_NAME
  • NESTA_PRODUCTION__GOOGLE_ANALYTICS_CODE

Installation

Install the theme as a git submodule to get the benefits of future updates.

mysite$ git submodule add git://github.com/rwdaigle/nesta-theme-clean.git themes/clean

And make sure your config/config.yml file (or NESTA_THEME env var) specifies the clean theme.

The Nesta-approved installation method is to do:

mysite$ nesta theme:install git://github.com/rwdaigle/nesta-theme-clean.git

though future updates won't be as easily propogated.

About

A minimalist theme for Nesta CMS that focuses on content readability


Languages

Language:JavaScript 96.9%Language:Ruby 3.1%