Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/massivdash/gozdowski
Gozdowski theme, Ghost Theme template built upon casper theme.
https://github.com/massivdash/gozdowski
Last synced: 1 day ago
JSON representation
Gozdowski theme, Ghost Theme template built upon casper theme.
- Host: GitHub
- URL: https://github.com/massivdash/gozdowski
- Owner: MassivDash
- License: other
- Created: 2019-03-29T23:09:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T20:03:06.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T04:47:42.716Z (7 months ago)
- Language: CSS
- Size: 1.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gozdowski
The [spaceout.pl](https://spaceout.pl) ghost theme, built upon the best practices of casper theme.
Ghost V3#Additions
Slider shows top 3 posts![Mobile-desktop](https://blog.spaceout.pl/content/images/2019/03/gozodowskiTheme.jpg)
![screenshit-desktop](https://blog.spaceout.pl/content/images/2019/03/Screenshot_2019-03-31-Gozdowski-1--2.jpg)
# First time custimizng a Ghost theme?
Ghost uses a simple templating language called [Handlebars](http://handlebarsjs.com/) for its themes.
We've documented our default theme pretty heavily so that it should be fairly easy to work out what's going on just by reading the code and the comments. Once you feel comfortable with how everything works, we also have full [theme API documentation](https://themes.ghost.org) which explains every possible Handlebars helper and template.
**The main files are:**
- `default.hbs` - The main template file
- `index.hbs` - Used for the home page
- `post.hbs` - Used for individual posts
- `page.hbs` - Used for individual pages
- `tag.hbs` - Used for tag archives
- `author.hbs` - Used for author archivesOne really neat trick is that you can also create custom one-off templates just by adding the slug of a page to a template file. For example:
- `page-about.hbs` - Custom template for the `/about/` page
- `tag-news.hbs` - Custom template for `/tag/news/` archive
- `author-ali.hbs` - Custom template for `/author/ali/` archive# Development
Casper styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory:
```bash
$ yarn install
$ yarn dev
```Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically.
The `zip` Gulp task packages the theme files into `dist/.zip`, which you can then upload to your site.
```bash
$ yarn zip
```# PostCSS Features Used
- Autoprefixer - Don't worry about writing browser prefixes of any kind, it's all done automatically with support for the latest 2 major versions of every browser.
- Variables - Simple pure CSS variables
- [Color Function](https://github.com/postcss/postcss-color-function)# SVG Icons
Casper uses inline SVG icons, included via Handlebars partials. You can find all icons inside `/partials/icons`. To use an icon just include the name of the relevant file, eg. To include the SVG icon in `/partials/icons/rss.hbs` - use `{{> "icons/rss"}}`.
You can add your own SVG icons in the same manner.
# Copyright & License
Gozdowski theme by [spaceout.pl](https://spaceout.pl) - Released under the [MIT license](LICENSE).
author: SpaceGhostCaser Theme by
Copyright (c) 2013-2019 Ghost Foundation - Released under the [MIT license](LICENSE).