Kdecherf / fresh-sundown

Pelican theme merged from sundown and fresh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pelican-Sundown

A flexible pelican based on the github pages sundown theme created originally by orderedlist.

Configuration

This theme does have a few differences from the original sundown theme. For example, slightly larger font for content, gravatar image, and social icons.

Additions such as gravatar are not required, but available. The following settings should be added/adjusted in the pelicanconf.py:

Gravatar

You can include a gravatar image in the top left of the template by adding the following lines to your config:

import urllib, hashlib

# Conf for pulling Gravatar Image
EMAIL = u'youremail@email.com'
DEFAULT_GRV_URL = u'http://www.example.com/default.jpg'
GRV_SIZE = 120

# construct gravatar URL
GRV_URL = "http://www.gravatar.com/avatar/" + hashlib.md5(EMAIL.lower()).hexdigest() + "?"
GRV_URL += urllib.urlencode({'d':DEFAULT_GRV_URL, 's':str(GRV_SIZE)})

Who is using pelican-sundown

About

Pelican theme merged from sundown and fresh


Languages

Language:CSS 100.0%