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
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:
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:
rwdaiglewill result in
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.
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
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.