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