<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Site title</title><link>/</link><description>Recent content on Site title</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 02 Apr 2014 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>(Hu)go Template Primer</title><link>/blog/2014-04-02-hugo-template-primer/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>/blog/2014-04-02-hugo-template-primer/</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 with Hugo</title><link>/blog/2014-04-02-getting-started-with-hugo/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>/blog/2014-04-02-getting-started-with-hugo/</guid><description>&lt;h2 id="step-1-install-hugo"&gt;Step 1. Install Hugo&lt;/h2&gt;&#10;&lt;p&gt;Goto &#10;&lt;a href="https://github.com/spf13/hugo/releases" target="_blank" rel="noopener"&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 &#10;&lt;a href="/overview/installing/"&gt;installing 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 &#10;&lt;a href="http://github.com/spf13/hugo" target="_blank" rel="noopener"&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><item><title>Migrate to Hugo from Jekyll</title><link>/blog/2014-03-10-migrate-to-hugo-from-jekyll/</link><pubDate>Mon, 10 Mar 2014 00:00:00 +0000</pubDate><guid>/blog/2014-03-10-migrate-to-hugo-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></channel></rss>