Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 1.83 KB

README.md

File metadata and controls

54 lines (29 loc) · 1.83 KB

World Casper 2

World Casper 2 is a Hugo theme ported from the original Casper theme for Ghost, with languages support.

Screenshot

Theme Demo

Installation

From the root of your Hugo site run:

git submodule add https://github.com/bablem/hugo-world-casper-2.git themes/world-casper-2

Or if you are not using Git on your site:

git clone https://github.com/bablem/hugo-world-casper-2.git themes/world-casper-2

For more information read the official setup guide of Hugo.

Configuration

Copy the config.toml from the exampleSite, then edit as desired.

How to translate

For translate the theme to a new language, follow this two steps:

  1. Fork this repo.

  2. Create a new file with the language code under i18n folder with the translated strings.

  3. Edit the months.yaml file inside data folder. It is necessary for the publishing date of the posts.

  4. Create a Pull Request with your great work!

Credits

Much of the work of porting this theme to Hugo has been done by Eueung Mulyana in his repository hugo-casper-two.

The name of this theme is inspired in the original WorldCasper2 project for translate the default theme for Ghost.

License

This theme is released under the MIT license. For more information read the License.