Giter Club home page Giter Club logo

blanket's Introduction

Blanket

Blanket is an extremely simple and minimalist theme for the Ghost.

Theme Features

  • AMP Support
  • i18n Support
  • Responsive Design
  • Author Archive
  • Tag Archive
  • Featured Post Support
  • Subscribers Support
  • Post Sharing Support
  • Syntax Highlighting using Prism JS
  • Reading Time Support

Install Guide

Git Install

  1. Go to the ghost/content/themes directory.
  2. Run $ git clone https://github.com/CriticalRespawn/Blanket "blanket".
  3. Restart Ghost.
  4. Navigate to the "Design" section of the Ghost Admin, Blanket should be listed in the "Themes" block.
  5. "Activate" Blanket and go to the front end of your website, Blanket should now be the active theme.

Manual Install

  1. Download the Blanket.zip folder
  2. Unzip and rename to "blanket"
  3. Copy the renamed folder to the ghost/content/themes directory
  4. Restart Ghost.
  5. Navigate to the "Design" section of the Ghost Admin, Blanket should be listed in the "Themes" block.
  6. "Activate" Blanket and go to the front end of your website, Blanket should now be the active theme.

Additional Notes

Subscribers

If you do not use the Ghost Labs subscribers feature, this isn't a problem. You don't need to make any changes to the code as Blanket checks to see whether this is enabled before showing a little envelope icon in the footer.

AMP (Accelerated Mobile Pages)

Blanket supports Accelerated Mobile Pages, for more information Visit the AMP Project Website. The only things to note here is if you're making changes in any file within the /assets/css/ directory, you must also make these changes within the amp.hbs file too. If you're making any change to amp.hbs which you intend to open a PR for, you must check that the AMP Validation is successful.

Grid System

Blanket uses Simple Grid for the Grid System because why bother reinventing the wheel? This solution works perfectly well in this case.

Icons

Blanket uses Font Awesome for any icons.

Content Fallbacks

I've developed Blanket to take into account all the instances where content will be missing. This includes feature images for posts, feature images for tags, author images, author bios, tag descriptions and additional author content. For images, 99% of instances are replaced with a default image. For other content, the containing divs are not shown on the page when there's no content to show.

Contributing

I welcome any contributions whether they are to fix an issue or to add something new to Blanket. Please note that my vision of this theme has, and always will be "simple". If your contibution means that Blanket starts to edge towards becoming complex, it may not be approved. Submit a PR though and we can work something out!

If you wish to add a contribution in the form of additional i18n support, there's a en.json file within the locales directory, simply copy this file and change the translations into the language of your choice.

Issues & Support

Blanket has been tested on various platforms and devices however it's always possible bugs may have slipped through the net. If you spot an issue with Blanket you can either submit an issue here, on Github, or Send me a Tweet. Github is probably better though.

Copyright & License

Copyright (C) 2018 Jon Purvis - Released under the MIT License.

blanket's People

Contributors

criticalrespawn avatar

Watchers

James Cloos 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.