← Winnitude! Search  ·  Reader Mode (633 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 34 LINKS

GitHub - bpython/bsite-theme: The theme we use for Pelican. An adaptation of sundown which in itself was adapted by @keningle.

Repository navigation

bsite-theme
Public

About

The theme we use for Pelican. An adaptation of sundown which in itself was adapted by @keningle .

Resources

Readme Activity Custom properties

Stars

0 stars

Watchers

7 watching

Forks

2 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


22 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
static static    
templates templates    
.gitignore .gitignore    
README.md README.md    

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'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

License (MIT)

The MIT License (MIT)

Copyright (c) 2013, Ken Ingle

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

The theme we use for Pelican. An adaptation of sundown which in itself was adapted by @keningle .

Resources

Readme Activity Custom properties

Stars

0 stars

Watchers

7 watching

Forks

2 forks Report repository

Releases

Sponsor this project

Packages

Contributors

Languages