simple_blog_with_pelican
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| simple_blog_with_pelican [2017/06/28 09:14] – /* Simple Blog with Pelican */ _yulax | simple_blog_with_pelican [2026/10/14 17:03] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | So you've got your new Tardis shell account, and you want to write a simple blog! | ||
| - | What good fortune! | ||
| - | Pelican is (like Jekyll) a simple way to generate static web pages, and it is written in Python. | ||
| - | Some examples are found here: http:// | ||
| - | OK! Let's start. | ||
| - | |||
| - | Install using Pip: | ||
| - | **< | ||
| - | Now clone the Pelican Themes repository: | ||
| - | **< | ||
| - | |||
| - | Add the following to your bashrc (or shell configuration file) if necessary: | ||
| - | **< | ||
| - | [[ -d $p/. ]] || continue | ||
| - | [[ :$PATH: = *:$p:* ]] || PATH=$p: | ||
| - | done</ | ||
| - | |||
| - | (This is actually for mksh, but it should work for other shells.) | ||
| - | |||
| - | Make a folder for Pelican: | ||
| - | **< | ||
| - | |||
| - | Run the helper script: | ||
| - | **< | ||
| - | The options are largely self-explanatory. For "Do you want to specify a URL prefix?", | ||
| - | Upon success, we see several folders, including ' | ||
| - | |||
| - | Now, enter the ' | ||
| - | **< | ||
| - | |||
| - | **< | ||
| - | Date: 2050-05-19 | ||
| - | Category: Urgent | ||
| - | |||
| - | Tardis is run by evil nefarious people who sacrifice a black cat at the pub every Monday.</ | ||
| - | |||
| - | Now we generate pages: | ||
| - | **< | ||
| - | |||
| - | Now copy / simlink the contents of the **output** folder to **public_html**. | ||
| - | |||
| - | Now look on **https:// | ||
| - | |||
| - | For custom themes, use the **-t** option to specify the directory, in this case, at **~/ | ||
