I realized learning things and making projects doesn't mean much if I can't talk about and display my work. So after some research I learned I don't need to specialize in front end development or website design or javascript to build a presentable website. This is part of the progress of software becoming more user friendly and accessible. Higher level languages and static page generators!

There are some great articles about static pages vs. dynamic ones out there and I'm a total amateur so I'll just link one here.


Why use a static blog?

I'm interested in something that is quick, efficient, small footprint so whatever I ultimately produce can be viewed quickly and not waste time bogged down in a database heavy website. I don't have anything against a dynamic site, and my next project will be to make a django based one on AWS. For now though a simple blog meant to present data science projects can perfectly be done on a static site.

As of now the blog is not finished, and I'm not an expert on everything I've done so far. This article is more of a journal on some of the things I've done so far.


Some great resources here. Check out Nafiul Islam's pelican setup guide.


Start-up

Download Python which should include pip which is a package manager.

Using pip, install Pelican.

Use the quick set up, I only chose to say Yes to uploading it to a Github page one day.

Once I had a test site I started looking for a theme. It's fun to learn by picking things apart, a lot better than digging around in docs and failing a million ways.

Themes

Pelican has a repository of default themes you can choose. They recommend downloading the whole thing which I did but now seems rather unnecessary. I started by using foundation-default-colours.

I poked around in the theme but then found features in another blog I wanted to work with.

So off to 'Plumage' I went. It's not a default theme but it was one I wanted to work with.

Customization

It took a few days to start getting something clean but customized.

I changed the backgrounds to some Japanese inspired patterns that look subtle and organized to me.

Changed the Pygment to the solarized light instead of the solarized dark, dark code background was too jarring.

Then I found tango is a nice default Pygment so I compiled it to a css and inserted it.

The theme was coded to option allow a Disqus comment section but after some research and just plain preference I decided to use a static comment system. This is a rather weird setup which won't scale well, but it's very nice for what I want now. No account needed to comment, full markdown support for comments, all personal information and data handling is performed by me not an independent service. The downside is comments aren't immediately posted and the stock handling is I have to review and add the comment manually. I may make this automatic but handling comments manually is appealing right now.

Added a Show/Hide toggler courtesy of flavio. He combines it with the pelican plug-in pelican_gist which offers a simple Markdown tactic to insert blocks of text that can easily be hidden by the reader. Concise in the article write up, concise on the article page.

Added pelican_gist which pulls up stored code from my gist.

At this point the blog looks good enough to put up. I'm interested in continuing to push pelican/markdown some more so I'll keep poking around.


Article: "My first blog, I'll use Pelican!" by Wolf, in Projects

Comments


There are no comments yet.

Add a Comment

You can use the Markdown syntax to format your comment.

Comment Atom Feed

Related content