<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Go on Central Mississippi Democratic Socialist of America</title><link>https://centralmsdsa.org/tags/go/</link><description>Recent content in Go on Central Mississippi Democratic Socialist of America</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 26 Mar 2025 06:34:00 +0000</lastBuildDate><atom:link href="https://centralmsdsa.org/tags/go/index.xml" rel="self" type="application/rss+xml"/><item><title>new post</title><link>https://centralmsdsa.org/post/new-post/</link><pubDate>Wed, 26 Mar 2025 06:34:00 +0000</pubDate><guid>https://centralmsdsa.org/post/new-post/</guid><description>&lt;p>new post&lt;/p></description></item><item><title>(Hu)go Template Primer</title><link>https://centralmsdsa.org/post/hugo-template-primer/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>https://centralmsdsa.org/post/hugo-template-primer/</guid><description>&lt;p>Hugo uses the excellent &lt;a href="https://golang.org/">Go&lt;/a> &lt;a href="https://golang.org/pkg/html/template/">html/template&lt;/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.&lt;/p></description></item><item><title>Getting Started with Hugo</title><link>https://centralmsdsa.org/post/getting-started-with-hugo/</link><pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate><guid>https://centralmsdsa.org/post/getting-started-with-hugo/</guid><description>&lt;h2 id="step-1-install-hugo">Step 1. Install Hugo&lt;/h2>
&lt;p>Go to &lt;a href="https://github.com/spf13/hugo/releases">Hugo releases&lt;/a> and download the
appropriate version for your OS and architecture.&lt;/p>
&lt;p>Save it somewhere specific as we will be using it in the next step.&lt;/p>
&lt;p>More complete instructions are available at &lt;a href="https://gohugo.io/getting-started/installing/">Install Hugo&lt;/a>&lt;/p>
&lt;h2 id="step-2-build-the-docs">Step 2. Build the Docs&lt;/h2>
&lt;p>Hugo has its own example site which happens to also be the documentation site
you are reading right now.&lt;/p>
&lt;p>Follow the following steps:&lt;/p>
&lt;ol>
&lt;li>Clone the &lt;a href="https://github.com/spf13/hugo">Hugo repository&lt;/a>&lt;/li>
&lt;li>Go into the repo&lt;/li>
&lt;li>Run hugo in server mode and build the docs&lt;/li>
&lt;li>Open your browser to http://localhost:1313&lt;/li>
&lt;/ol>
&lt;p>Corresponding pseudo commands:&lt;/p></description></item></channel></rss>