https://github.com/kura/ghastly
A clean and minimal, lightweight theme for the Pelican static site generator.
https://github.com/kura/ghastly
css html5 jinja2 pelican
Last synced: about 1 year ago
JSON representation
A clean and minimal, lightweight theme for the Pelican static site generator.
- Host: GitHub
- URL: https://github.com/kura/ghastly
- Owner: kura
- License: mit
- Created: 2014-05-26T12:51:16.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2021-08-26T12:41:04.000Z (almost 5 years ago)
- Last Synced: 2025-04-14T11:39:00.051Z (about 1 year ago)
- Topics: css, html5, jinja2, pelican
- Language: CSS
- Homepage: https://kura.gg/ghastly/
- Size: 2.46 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Ghastly - A theme for Pelican
#############################
:date: 2014-05-26 23:00
:author: kura
:tags: pelican, ghost
:slug: ghastly
.. contents::
.. figure:: https://raw.githubusercontent.com/kura/ghastly/master/gastly.png
:alt: Gastly, the Ghost Pokemon
(Image by `Raiba-art `__)
Introduction
============
I'd like to introduce Ghastly, a clean and minimal, lightweight theme for the
`Pelican `__ blogging platform.
Ghastly is based heavily off of Casper, the default theme for
`Ghost `__.
It's name is derived from the the D&D monster, the Ghast and Gastly, the
Pokemon.
Features
========
- Disqus
- Pygments
- CSS & JS minifying using webassets
- Share buttons
- Custom 404 page
Missing Features
----------------
- Templates are free from all tracking engines like Google Analytics,
although adding tracking is as simple as editing the HTML.
Design concessions
==================
The Casper theme is designed purely for blog posts and as such it is hard
to easily create any kind of menu for it without ruining the overall design.
I continued this with Ghastly because to me, the articles are more important
than a menu.
This does mean pages become quite pointless.
Typography
==========
.. figure:: https://raw.githubusercontent.com/kura/ghastly/master/firasans.png
:alt: FiraSans map of the World
(Image by `the guys at Carrois, creators of FiraSans `__)
The guys at `Carrois `__ created FiraSans for
Mozilla and released it to the world for free.
The Ghastly theme uses both FiraSans for general typography and FiraMono for
`code`, `kbd`, `pre` and `samp` blocks.
Screenshots
===========
.. image:: https://raw.githubusercontent.com/kura/ghastly/master/homepage.png
.. image:: https://raw.githubusercontent.com/kura/ghastly/master/article1.png
.. image:: https://raw.githubusercontent.com/kura/ghastly/master/article2.png
.. image:: https://raw.githubusercontent.com/kura/ghastly/master/article3.png
Requirements
============
- pelican
- webassets
- cssmin
- pelican webassets from `pelican-plugins `__
.. code:: bash
pip install pelican webassets cssmin
Installation
============
You can find Ghastly `on GitHub `__ and you
can find installation instructions for themes in the `pelican documentation
`__.
Configuration
=============
.. code:: python
THEME = 'ghastly'
DIRECT_TEMPLATES = (('index', 'archives', '404'))
License
=======
Ghastly is released under the `MIT license `__.