<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arabica</title><link>/</link><description>Recent content on Arabica</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 28 Sep 2014 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating a New Theme</title><link>/post/creating-a-new-theme/</link><pubDate>Sun, 28 Sep 2014 00:00:00 +0000</pubDate><guid>/post/creating-a-new-theme/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;&#10;&lt;p&gt;This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&amp;rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won&amp;rsquo;t cover using CSS to style your theme.&lt;/p&gt;&#10;&lt;p&gt;We&amp;rsquo;ll start with creating a new site with a very basic template. Then we&amp;rsquo;ll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites.&lt;/p&gt;</description></item><item><title>Migrate to Hugo from Jekyll</title><link>/post/migrate-from-jekyll/</link><pubDate>Mon, 10 Mar 2014 00:00:00 +0000</pubDate><guid>/post/migrate-from-jekyll/</guid><description>&lt;h2 id="move-static-content-to-static"&gt;Move static content to &lt;code&gt;static&lt;/code&gt;&lt;/h2&gt;&#10;&lt;p&gt;Jekyll has a rule that any directory not starting with &lt;code&gt;_&lt;/code&gt; will be copied as-is to the &lt;code&gt;_site&lt;/code&gt; output. Hugo keeps all static content under &lt;code&gt;static&lt;/code&gt;. You should therefore move it all there.&#10;With Jekyll, something that looked like&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;▾ &amp;lt;root&amp;gt;/&#10; ▾ images/&#10; logo.png&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;should become&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;▾ &amp;lt;root&amp;gt;/&#10; ▾ static/&#10; ▾ images/&#10; logo.png&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Additionally, you&amp;rsquo;ll want any files that should reside at the root (such as &lt;code&gt;CNAME&lt;/code&gt;) to be moved to &lt;code&gt;static&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>(Hu)go Template Primer</title><link>/post/goisforlovers/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>/post/goisforlovers/</guid><description>&lt;p&gt;Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for&#10;its template engine. It is an extremely lightweight engine that provides a very&#10;small amount of logic. In our experience that it is just the right amount of&#10;logic to be able to create a good static website. If you have used other&#10;template systems from different languages or frameworks you will find a lot of&#10;similarities in Go templates.&lt;/p&gt;&#10;&lt;p&gt;This document is a brief primer on using Go templates. The [Go docs][gohtmltemplate]&#10;provide more details.&lt;/p&gt;</description></item><item><title>Getting Started</title><link>/post/hugoisforlovers/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>/post/hugoisforlovers/</guid><description>&lt;h2 id="step-1-install-hugo"&gt;Step 1. Install Hugo&lt;/h2&gt;&#10;&lt;p&gt;Go to &lt;a href="https://github.com/spf13/hugo/releases"&gt;Hugo releases&lt;/a&gt; and download the&#10;appropriate version for your OS and architecture.&lt;/p&gt;&#10;&lt;p&gt;Save it somewhere specific as we will be using it in the next step.&lt;/p&gt;&#10;&lt;p&gt;More complete instructions are available at &lt;a href="https://gohugo.io/getting-started/installing/"&gt;Install Hugo&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="step-2-build-the-docs"&gt;Step 2. Build the Docs&lt;/h2&gt;&#10;&lt;p&gt;Hugo has its own example site which happens to also be the documentation site&#10;you are reading right now.&lt;/p&gt;&#10;&lt;p&gt;Follow the following steps:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Clone the &lt;a href="http://github.com/spf13/hugo"&gt;Hugo repository&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Go into the repo&lt;/li&gt;&#10;&lt;li&gt;Run hugo in server mode and build the docs&lt;/li&gt;&#10;&lt;li&gt;Open your browser to http://localhost:1313&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Corresponding pseudo commands:&lt;/p&gt;</description></item></channel></rss>