annotate content/Coding/028-blog-reboot-pelican.rst @ 13:bcfe2a2c8358
Take advantages of new pelican-bootstrap3 features.
Show date & tags on index.
Show twitter widget.
The Bootstrap readable theme was updated. I didn't like the new
version as much so I saved it as 'readable-bgn' in my pelican-bootstrap3
repo.
Added a setting PATH = 'content' to prevent weird errors when using
'fab regenerate', etc. Got this by googling.
author |
Brian Neal <bgneal@gmail.com> |
date |
Mon, 10 Feb 2014 20:03:21 -0600 |
parents |
271bed1181df |
children |
|
rev |
line source |
bgneal@9
|
1 Blog Reboot with Pelican
|
bgneal@9
|
2 ########################
|
bgneal@9
|
3
|
bgneal@9
|
4 :date: 2014-02-01 14:30
|
bgneal@9
|
5 :tags: Blogging, Pelican, Blogophile
|
bgneal@9
|
6 :slug: blog-reboot-with-pelican
|
bgneal@9
|
7 :author: Brian Neal
|
bgneal@9
|
8
|
bgneal@9
|
9 I've rebooted my blog with Pelican_! I've been wanting to refresh the look of
|
bgneal@9
|
10 my blog for some time. Blogofile_ has been very good to me, but there seems to
|
bgneal@9
|
11 be more activity in the Pelican world, including lots of nice themes. So I took
|
bgneal@9
|
12 a few evenings and played around with Pelican. After seeing how configurable it
|
bgneal@9
|
13 is and that I could easily keep the existing URLs (at least the important ones)
|
bgneal@9
|
14 from my Blogofile blog I decided to convert.
|
bgneal@9
|
15
|
bgneal@9
|
16 I wrote a script to convert my posts to the format Pelican expected. This was
|
bgneal@9
|
17 quite easy as they both accept reStructuredText_ and mostly involved updating
|
bgneal@9
|
18 the metadata that appears at the top of each post. I found the cool `Pelican
|
bgneal@9
|
19 Bootstrap 3 theme`_ by Daan Debie. I even submitted a pull request for it to
|
bgneal@9
|
20 update how it does pagination. This was my first pull request on GitHub!
|
bgneal@9
|
21 Achievement unlocked!
|
bgneal@9
|
22
|
bgneal@9
|
23 I look forward to writing some more blog posts with this platform. I plan on
|
bgneal@9
|
24 updating the Fabric_ file with a command to produce a skeleton post template.
|
bgneal@9
|
25
|
bgneal@9
|
26 .. _Pelican: http://blog.getpelican.com/
|
bgneal@9
|
27 .. _reStructuredText: http://docutils.sourceforge.net/rst.html
|
bgneal@9
|
28 .. _Blogofile: http://www.blogofile.com/
|
bgneal@9
|
29 .. _Pelican Bootstrap 3 theme: https://github.com/DandyDev/pelican-bootstrap3
|
bgneal@9
|
30 .. _Fabric: http://docs.fabfile.org/en/1.8/
|