Charles Reid 3 years ago
parent
commit
1cbfa12b81
2 changed files with 12 additions and 22 deletions
  1. +6
    -22
      docs/Theming.md
  2. +6
    -0
      docs/index.md

+ 6
- 22
docs/Theming.md View File

@@ -10,28 +10,12 @@ on Github for a full list of themes.
See [pelicanthemes.com](http://pelicanthemes.com/)
for a gallery of themes.

## gum theme
## simple-bootstrap theme

For this example, we'll use [gum](https://github.com/getpelican/pelican-themes/tree/master/gum),
For this example, we'll use the [simple-bootstrap](https://github.com/getpelican/pelican-themes/tree/master/simple-bootstrap),
a simple Bootstrap theme.

The theme's README (linked to above) tells us what settings to include
in our `pelicanconf.py`.

In this case, we'll leave most of these blank so they don't show up
in the final page:

```
GITHUB_URL = ''
TWITTER_URL = ''
FACEBOOK_URL = ''
GOOGLEPLUS_URL = ''

GOOGLE_ANALYTICS_ID = ''
GOOGLE_ANALYTICS_SITENAME = ''
```

To use the gum theme, we have to install it.
To use the simple-bootstrap theme, we have to install it.
Start by checking out the pelican-themes repo:

```
@@ -39,20 +23,20 @@ $ git clone --recursive https://github.com/getpelican/pelican-themes

$ cd pelican-themes

$ pelican-themes -i gum
$ pelican-themes -i simple-bootstrap
```

If you modify or update the theme, you can
use the `-U` flag (for Update) with `pelican-themes`:

```
$ pelican-themes -U gum
$ pelican-themes -U simple-bootstrap
```

Now you can set the gum theme in your `pelicanconf.py`
by setting the `THEME` variable:

```
THEME="gum"
THEME="simple-bootstrap"
```


+ 6
- 0
docs/index.md View File

@@ -5,6 +5,12 @@ using Pelican to build a static site.
It will skip a lot of the details in the
interest of simplicity.

HTML pages for this tutorial (you are here): [https://pages.charlesreid1.com/how-do-i-pelican/](https://pages.charlesreid1.com/how-do-i-pelican/)

Source code for this tutorial on git.charlesreid1.com: [https://git.charlesreid1.com/charlesreid1/how-do-i-pelican](https://git.charlesreid1.com/charlesreid1/how-do-i-pelican)

Source code for this tutorial on Github: [https://github.com/charlesreid1/how-do-i-pelican](https://github.com/charlesreid1/how-do-i-pelican)

The outline:

* [Before you start - installing Pelican](Before.md)


Loading…
Cancel
Save