Skip to content

HTTPS clone URL

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">
<head>
<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="http://html5shiv.googlecode.com/svn/trunk/html5.js"></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]-->
</head>
<body id="index" class="home">
<a href="https://github.com/pydanny/pydanny.github.com">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
</a>
<header id="banner" class="body">
<h1><a href=".">pydanny </a></h1>
<nav><ul>
<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>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
<header>
<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="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="pydanny">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2012-02-09T10:20:00">
Thu 09 February 2012
</abbr>
<address class="vcard author">
By <a class="url fn" href="./author/Daniel-Greenfeld.html">Daniel-Greenfeld</a>
</address>
<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="https://github.com/mojombo/jekyll">https://github.com/mojombo/jekyll</a>, I was impressed enough to give it a try.</p>
<p>Why did it impress me?</p>
</div>
<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>
</pre></div>
<p>This issue alone sums up why I don't do more blog posts with code.</p>
</div>
<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>
<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>
<div class="section" id="ability-to-publish-via-git">
<h2>Ability to publish via git</h2>
<p>My <a class="reference external" href="http://pydanny-event-notes.rtfd.org">http://pydanny-event-notes.rtfd.org</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>
<div class="section" id="why-not-jekyll">
<h2>Why not Jekyll?</h2>
<p>Jekyll is written in <a class="reference external" href="http://ruby-lang.org">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="http://hyde.github.com/">hyde</a>, <a class="reference external" href="http://blogofile.com/">blogofile</a>, and <a class="reference external" href="http://pelican.readthedocs.org/">pelican</a> as alternatives. More on that later.</p>
</div>
</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 = 'http://pydanny.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</article>
</section>
<section id="extras" class="body">
<div class="social">
<h2>social</h2>
<ul>
<li><a href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
<li><a href="http://twitter.com/pydanny">twitter</a></li>
<li><a href="https://github.com/pydanny">github</a></li>
<li><a href="http://www.facebook.com/daniel.greenfeld">facebook</a></li>
</ul>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://pelican.notmyidea.org/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">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 + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-18066389-3");
pageTracker._trackPageview();
} 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 + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.