mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Enable installation with pip
This commit is contained in:
parent
0c6fd9e5c3
commit
c66ac71cf7
5 changed files with 60 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -20,6 +20,8 @@ Inspired by [crowsfoot](http://github.com/porterjamesj/crowsfoot) and [clean-blo
|
|||
|
||||
## Installation
|
||||
|
||||
### From Git repo
|
||||
|
||||
Clone the repo:
|
||||
|
||||
```bash
|
||||
|
|
@ -47,6 +49,21 @@ And in Pelican config:
|
|||
THEME = 'themes/pelican-alchemy/alchemy'
|
||||
```
|
||||
|
||||
### With pip
|
||||
|
||||
Alternatively, you can install this theme with pip:
|
||||
|
||||
```bash
|
||||
pip install "https://github.com/nairobilug/pelican-alchemy/tarball/master"
|
||||
```
|
||||
|
||||
And import it from Pelican config:
|
||||
|
||||
```python
|
||||
import alchemy
|
||||
THEME = alchemy.path()
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Visit the [Settings wiki](https://github.com/nairobilug/pelican-alchemy/wiki/Settings) for examples:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue