Skip to content

codersquid/pelican-themes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican Themes

This repository contains themes for Pelican. Feel free to clone, add your own theme, and submit a pull request. It's community-managed!

Using Themes

These instructions assume you have already completed the Getting Started guide, have a working site, and would now like to apply a non-default theme.

First, choose a location to hold your themes. For this example, we'll use the directory ~/pelican-themes, but yours could be different. Clone the pelican-themes repository to that location on your local machine:

git clone --recursive https://github.com/getpelican/pelican-themes ~/pelican-themes

Now you should have your pelican-themes repository stored at ~/pelican-themes/.

To use one of the themes, edit your Pelican settings file to include this line:

THEME = "~/pelican-themes/theme-name"

So, for instance, to use the mnmlst theme, you would edit your settings file to include:

THEME = "~/pelican-themes/mnmlst"

Save the changes to your settings file and then regenerate your site by using the Makefile you should already have set up using pelican-quickstart:

make html

Themes can also be specified directly via the -t ~/pelican-themes/theme-name parameter to the pelican command. If you want to edit your theme, make sure that any edits you make are made to the copy stored in ~/pelican-themes/theme-name. Any changes made to files stored in your site's output directory will be deleted the next time you generate your site.

Releases

No releases published

Packages

No packages published

Languages

  • CSS 78.3%
  • JavaScript 21.5%
  • Other 0.2%