Giter Site home page Giter Site logo

solar-theme-ghost's Introduction

Solar Theme for Ghost

A stylish theme for Ghost blogs, based on the Solarized color palette.

Screenshot

Features

  • Two color schemes โ€” One for Solarized Dark and one for Solarized Light. Just swap the reference to the colors-dark.css file with colors-light.css if you don't like light-on-dark.
  • Responsive Design โ€” Solarized adapts to fit any screen size.

Installation

  1. Clone the repository and upload the solar directory to your Ghost blog's content/themes folder.

  2. Go to the Settings page of the Ghost backend and select solar from the Theme dropdown.

  3. There is no step 3.

Customization

Solar supports Ghost's logo and cover image features, and will work perfectly fine with or without them. If you wish to upload a cover image, it will appear above the rest of the page. An uploaded logo replaces the textual blog name. (If you later decide you don't want a logo or cover image, you can remove it by clicking on the appropriate option in Settings and selecting the trash can icon.)

Syntax Higlighting

Solar uses Prism.js for syntax highlighting, which works in tandem with fenced Markdown code blocks like so:

```language-javascript
var t = new Thing("Test!");
```

Valid language classes include language-markup, language-css, language-javascript, language-ruby, and language-php. Prism.js supports a large range of additional languages (most of which have been included in Solar), as well as generic support for C-like languages.

Syntax Highlighting Screenshot

To-Do

  • The Jekyll version of Solar has linkblog support, while the Ghost one does not. This is because there isn't a finalized plugin API for Ghost yet, and there is no built-in linkblogging or post meta feature as of yet. This may change as Ghost's feature set is filled out more.

License

GPLv2 or higher

solar-theme-ghost's People

Contributors

mattvh avatar joshskeen avatar

Watchers

James Cloos avatar Dan Campbell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.