Gedanken on Thomas Internet Garden http://localhost:1313/gedanken/ Recent content in Gedanken on Thomas Internet Garden Hugo en-us Thomas.Sindt@gmx.de (Thomas) Thomas.Sindt@gmx.de (Thomas) Mon, 18 May 2026 23:03:26 +0200 My First Post http://localhost:1313/gedanken/my-first-post/ Mon, 18 May 2026 23:03:26 +0200Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/my-first-post/ <h2 id="introduction"> introduction </h2> <p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p> <p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p> Getting Started with Hugo http://localhost:1313/gedanken/hugoisforlovers/ Wed, 26 Oct 2022 17:12:11 +0700Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/hugoisforlovers/ <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> Hugo Diagrams http://localhost:1313/gedanken/diagrams/ Tue, 25 Oct 2022 17:12:11 +0700Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/diagrams/ <p>Hugo version &gt;= 0.93.0</p> <h2 id="goat-diagrams-ascii"> GoAT Diagrams (Ascii) </h2> <p>Hugo! supports <a href="https://github.com/bep/goat">GoAT</a> natively. This means that this code block:</p> <div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>```goat </span></span><span style="display:flex;"><span> . . . .--- 1 .-- 1 / 1 </span></span><span style="display:flex;"><span> / \ | | .---+ .-+ + </span></span><span style="display:flex;"><span> / \ .---+---. .--+--. | &#39;--- 2 | &#39;-- 2 / \ 2 </span></span><span style="display:flex;"><span> + + | | | | ---+ ---+ + </span></span><span style="display:flex;"><span> / \ / \ .-+-. .-+-. .+. .+. | .--- 3 | .-- 3 \ / 3 </span></span><span style="display:flex;"><span> / \ / \ | | | | | | | | &#39;---+ &#39;-+ + </span></span><span style="display:flex;"><span> 1 2 3 4 1 2 3 4 1 2 3 4 &#39;--- 4 &#39;-- 4 \ 4 </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span>``` </span></span></code></pre></div><p>Will be rendered as:</p> Introduce Hugo http://localhost:1313/gedanken/introduce-hugo/ Thu, 20 Oct 2022 17:12:11 +0700Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/introduce-hugo/ <h2 id="introduction"> Introduction </h2> <p>This tutorial will show you how to create a simple theme in <a href="https://github.com/gohugoio/hugo">Hugo</a>. 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> Creating a New Theme http://localhost:1313/gedanken/creating-a-new-theme/ Fri, 22 Oct 2021 17:12:11 +0700Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/creating-a-new-theme/ <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> Migrate to Hugo from Jekyll http://localhost:1313/gedanken/migrate-from-jekyll/ Fri, 22 Oct 2021 17:12:11 +0700Thomas.Sindt@gmx.de (Thomas) http://localhost:1313/gedanken/migrate-from-jekyll/ <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> <div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>▾ &lt;root&gt;/ </span></span><span style="display:flex;"><span> ▾ images/ </span></span><span style="display:flex;"><span> logo.png </span></span></code></pre></div><p>should become</p> <div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span>▾ &lt;root&gt;/ </span></span><span style="display:flex;"><span> ▾ static/ </span></span><span style="display:flex;"><span> ▾ images/ </span></span><span style="display:flex;"><span> logo.png </span></span></code></pre></div><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>