1
0
Fork 0
This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
pelican-alchemy/README.md

65 lines
2 KiB
Markdown
Raw Normal View History

2013-11-25 07:59:15 +03:00
# pelican-alchemy
2017-03-07 12:09:00 +03:00
Alchemy ✨ is a functional, clean, responsive theme for the [Pelican](http://getpelican.com) static site generator. Inspired by [crowsfoot](http://github.com/porterjamesj/crowsfoot) and [clean-blog](https://github.com/BlackrockDigital/startbootstrap-clean-blog).
2016-11-08 08:24:42 +03:00
## Screenshot
2016-11-08 08:24:42 +03:00
![Screenshot](screenshot.jpg "Screenshot")
2016-12-01 13:22:37 +03:00
## Features
2017-03-07 12:09:00 +03:00
- Powered by [Bootstap 4](http://v4-alpha.getbootstrap.com/)
- [Favicon Generator](http://realfavicongenerator.net/) support
- [Font Awesome](http://fontawesome.io/) icons
- [Pygments](http://pygments.org/) syntax highlighting styles
- `sitemap.xml` support
2016-12-01 13:22:37 +03:00
- External analytics (Google Analytics, Gauges, Piwik)
- External comments (Disqus)
## Installation
2017-03-07 12:09:00 +03:00
Clone the repo:
2017-03-07 12:09:00 +03:00
$ git clone https://github.com/nairobilug/pelican-alchemy
2017-03-07 12:09:00 +03:00
Set the `THEME` variable in your Pelican config:
2017-03-07 12:09:00 +03:00
THEME = '/PATH_TO_REPO/alchemy'
2017-01-05 20:16:08 +03:00
### As a submodule
2016-12-01 13:22:37 +03:00
In your Pelican site:
$ mkdir themes
$ git submodule add https://github.com/nairobilug/pelican-alchemy themes/pelican-alchemy
2016-12-01 13:22:37 +03:00
And Pelican config:
THEME = 'themes/pelican-alchemy/alchemy'
## Settings
2017-03-07 12:09:00 +03:00
Visit the [Settings wiki](https://github.com/nairobilug/pelican-alchemy/wiki/Settings) for examples:
- **SITESUBTITLE**: Subtitle that appears in the header.
- **SITEIMAGE**: Image that appears in the header.
2016-12-01 13:22:37 +03:00
- **DESCRIPTION**: Index HTML head `<meta>` description.
- **LINKS**: A list of tuples (Title, URL) for menu links.
- **ICONS**: A list of tuples (Icon, URL) for icon links.
- **PYGMENTS_STYLE**: Built-in Pygments style for syntax highlighting.
2016-12-01 13:22:37 +03:00
- **HIDE_AUTHORS**: Hide the author(s) of an article - useful for single author sites.
2017-03-07 12:09:00 +03:00
- **RFG_FAVICONS**: Use a Favicon Generator package.
2017-03-07 12:09:00 +03:00
Misc settings:
- **DISQUS_SITENAME**
- **GAUGES**
- **GOOGLE_ANALYTICS**
- **PIWIK_URL**
- **PIWIK_SITE_ID**
2017-03-07 12:09:00 +03:00
Example [pelicanconf.py](https://github.com/nairobilug/pelican-alchemy/blob/demo/pelicanconf.py) (demo website).
2016-12-01 13:22:37 +03:00
2017-03-07 12:09:00 +03:00
## Tips & Tricks
2017-03-07 12:09:00 +03:00
[https://github.com/nairobilug/pelican-alchemy/wiki/Tips](https://github.com/nairobilug/pelican-alchemy/wiki/Tips)