Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Kdecherf/fresh-sundown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'[email protected]'
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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages