Skip to content

pman0214/pelican-pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican Pure Template

Overview

This is a pelican theme using Pure.css. The theme is designed for Japanese blog.

This theme is NOT FULLY TESTED. Bug fix pull requests are welcome.

Requires

  • The tag cloud plugin if you want to display tag cloud on a sidebar using Pelican >= 3.6.

How to Install?

Clone this repository:

% git clone https://github.com/pman0214/pelican-pure.git

Configure your pelicanconf.py as:

% THEME = /path/to/pelican-pure

Usage

Basic

This theme supports the following standard Pelican settings:

  • Feeds
    • FEED_ALL_ATOM
    • FEED_ALL_RSS
  • Template settings
    • DISPLAY_PAGES_ON_MENU
    • DISPLAY_CATEGORIES_ON_MENU
    • MENUITEMS

Extra

Links

You can list links and social links using LINKS and SOCIAL variables:

LINKS = (('Blog', 'http://xxxxxxxxx'),)
SOCIAL = (('facebook', 'https://www.facebook.com/xxxxxxx'),
          ('twitter', 'https://twitter.com/xxxxxxx'),
          ('github', 'https://github.com/xxxxxxx'),)

Fontawesome

If you want to use font awesome fonts, define USE_FONT_AWESOME in your pelicanconf.py.

Article Info

Set SHOW_ARTICLE_AUTHOR to True to show the author on articles and static pages.

Code Highlighting

This theme uses Pygments to highlight code blocks. Set a value below to PYGMENTS_STYLE to change highlighting style:

  • autumn
  • borland
  • bw
  • colorful
  • default
  • emacs
  • friendly
  • fruity
  • github
  • manni
  • monokai
  • murphy
  • native
  • pastie
  • perldoc
  • tango
  • trac
  • vim
  • vs
  • zenburn

Default style is github.

Custom Site Logo

Set SITELOGO to specify a site logo image:

SITELOGO = 'images/logo.png'

Favicon

Set FAVICON to specify a site favicon:

FAVICON = 'images/favicon.ico'

About Me on Sidebar

You can include About me' block on sidebar instead of an `About me' page. Set :code:`ABOUT_ME to describe yourself:

ABOUT_ME = 'Hi!  I'm Shigemi, a researcher in Japan.'

You can use your avatar AVATAR variable:

AVATAR = 'images/myself.png'

OpenGraph

If you DO NOT want to include OpenGraph tags, set USE_OPEN_GRAPH to False.

By default, no OpenGraph image tag is embedded. You can embed OpenGraph image tag by specifying image file path using OPEN_GRAPH_IMAGE:

OPEN_GRAPH_IMAGE = 'images/mysite-img.png'

Facebook App ID can be embedded by using OG_FB_APP_ID.

Copyright, License

  • Copyright (c) 2015, Shigemi ISHIDA
  • Copyright 2013 Yahoo! Inc. All rights reserved.

This software is released under the BSD 3-clause license. See LICENSE.

Files listed below are retrieved from Pure.css and are also released under BSD license. See LICENSE-pure.md.

  • static/css/pure-min.css
  • static/css/grids-responsive-min.css
  • static/css/grids-responsive-old-ie-min.css

About

Pelican Theme using Pure.css

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE-pure.md

Stars

Watchers

Forks

Releases

No releases published

Packages