Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1ec3c0288b
Fetching contributors…

Cannot retrieve contributors at this time

186 lines (133 sloc) 8.655 kb
<!DOCTYPE html>
<html lang="en">
<title>Tried out Jekyll</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="./theme/css/main.css" type="text/css" />
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="pydanny Atom Feed" />
<!--[if IE]>
<script src=""></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie.css"/>
<script src="./js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="./css/ie6.css"/><![endif]-->
<body id="index" class="home">
<a href="">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="" alt="Fork me on GitHub" />
<header id="banner" class="body">
<h1><a href=".">pydanny </a></h1>
<li><a href="./pages/about.html">About</a></li>
<li><a href="./pages/tools.html">Tools</a></li>
<li><a href="./pages/upcoming.html">Upcoming</a></li>
<li ><a href="./category/audrey.html">Audrey</a></li>
<li class="active"><a href="./category/blog.html">Blog</a></li>
<li ><a href="./category/django.html">Django</a></li>
<li ><a href="./category/python.html">Python</a></li>
</header><!-- /#banner -->
<section id="content" class="body">
<h1 class="entry-title">
<a href="tried-out-jekyll.html" rel="bookmark"
title="Permalink to Tried out Jekyll">Tried out Jekyll</a></h1>
<a href="" class="twitter-share-button" data-count="horizontal" data-via="pydanny">Tweet</a><script type="text/javascript" src=""></script>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2012-02-09T10:20:00">
Thu 09 February 2012
<address class="vcard author">
By <a class="url fn" href="./author/Daniel-Greenfeld.html">Daniel-Greenfeld</a>
<p>In <a href="./category/blog.html">blog</a>. </p>
<p>tags: <a href="./tag/ruby.html">ruby</a><a href="./tag/blog.html">blog</a></p>
</footer><!-- /.post-info -->
<div class="section" id="why-jekyll">
<h2>Why Jekyll?</h2>
<p>I've had issues with Blogger for some time. After my fiancee, Audrey Roy, moved her blog to <a class="reference external" href=""></a>, I was impressed enough to give it a try.</p>
<p>Why did it impress me?</p>
<div class="section" id="code-highlighting-made-easy">
<h2>Code highlighting made easy</h2>
<p>I don't have to hand-craft HTML code to get google prettify in a post. I just stick in a simple macro of 'highlight python' called like a Django templatetag and I get:</p>
<div class="highlight"><pre><span class="n">name</span> <span class="o">=</span> <span class="s">&#39;Daniel Greenfeld&#39;</span>
<span class="k">for</span> <span class="n">letter</span> <span class="ow">in</span> <span class="n">name</span><span class="o">.</span><span class="n">split</span><span class="p">():</span>
<span class="k">print</span><span class="p">(</span><span class="n">letter</span><span class="p">)</span>
<p>This issue alone sums up why I don't do more blog posts with code.</p>
<div class="section" id="i-don-t-want-to-maintain-my-own-blog-site">
<h2>I don't want to maintain my own blog site</h2>
<p>A couple times I rolled out a blog on a site I stood up, but didn't really feel like maintaining a site. I want someone else to do it. When I write, I want someone else to worry about the details. I want to focus on writing and nothing else.</p>
<div class="section" id="i-want-to-be-able-to-write-without-connection">
<h2>I want to be able to write without connection</h2>
<p>I need an internet connection to get my blogger posts to format right. With Jekyll, I can just type away.</p>
<div class="section" id="ability-to-publish-via-git">
<h2>Ability to publish via git</h2>
<p>My <a class="reference external" href=""></a> has really exploded in my own usage and continued because it uses the same patterns I use in software development. I'm used to the pattern of using Git to push up content, so why use naked HTML? Sure, there are RST-to-HTML processors that I could use to generate that HTML, but they always require an some amount of manual correction. Jekyll, and it's alternatives,let me just write.</p>
<div class="section" id="why-not-jekyll">
<h2>Why not Jekyll?</h2>
<p>Jekyll is written in <a class="reference external" href="">ruby</a>. Nothing against ruby, but I can't trivially work in that language the way I can in Python. It's good to eat your own dogfood.</p>
<p>So I started looking at <a class="reference external" href="">hyde</a>, <a class="reference external" href="">blogofile</a>, and <a class="reference external" href="">pelican</a> as alternatives. More on that later.</p>
</div><!-- /.entry-content -->
<div class="comments">
<h2>Comments !</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_identifier = "tried-out-jekyll.html";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
<section id="extras" class="body">
<div class="social">
<li><a href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="">twitter</a></li>
<li><a href="">github</a></li>
<li><a href="">facebook</a></li>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="">Pelican</a>, which takes great advantage of <a href="">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-18066389-3");
} catch(err) {}</script>
<script type="text/javascript">
var disqus_shortname = 'pydanny';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
Jump to Line
Something went wrong with that request. Please try again.