I have decided to move away from Wordpress for my home page. Reasons are, maintaining it with all the upgrades of Wordpress, themes and plugins is stressful, because you need to keep up with all the security issues. To avoid them, I used mod_security, but the config gets complicated as well.
Static files for a web page… is that not Y2K-times ?
I remember the Frontpage and CGI days with hard-coded fonts, tables, no usable CSS, etc. Why would I come back to static pages ?
Because it works
- I like Markdown
- I like Python
- these things just work (well, most of the time)
The fix is…
Pelican takes your Markdown documents and puts them online. Simple to use, deploy with Fabric, well, all the things I like. And it has nice themes as well !
Installation
1 2 3 4 5 |
|
Kickstart
1 2 |
|
Still broken
I cannot run a local server, it always come up with an import issue:
fab serve
Traceback (most recent call last):
File "/opt/boxen/homebrew/Cellar/fabric/1.10.1/libexec/lib/python2.7/site-packages/fabric/main.py", line 743, in main
*args, **kwargs
File "/opt/boxen/homebrew/Cellar/fabric/1.10.1/libexec/lib/python2.7/site-packages/fabric/tasks.py", line 424, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/opt/boxen/homebrew/Cellar/fabric/1.10.1/libexec/lib/python2.7/site-packages/fabric/tasks.py", line 174, in run
return self.wrapped(*args, **kwargs)
File ".../Priv/Web/work/site/fabfile.py", line 57, in serve
server = AddressReuseTCPServer(('', PORT), ComplexHTTPRequestHandler)
NameError: global name 'ComplexHTTPRequestHandler' is not defined
Temporary fix is to comment this line in fabfile.py
# from pelican.server import ComplexHTTPRequestHandler