fix it
This commit is contained in:
@@ -1,11 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on My New Hugo Project</title>
|
||||
<link>https://example.org/posts/</link>
|
||||
<description>Recent content in Posts on My New Hugo Project</description>
|
||||
<title>Posts on Thomas Internet Garden</title>
|
||||
<link>http://localhost:1313/posts/</link>
|
||||
<description>Recent content in Posts on Thomas Internet Garden</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<atom:link href="https://example.org/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Mon, 18 May 2026 23:03:26 +0200</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>My First Post</title>
|
||||
<link>http://localhost:1313/posts/my-first-post/</link>
|
||||
<pubDate>Mon, 18 May 2026 23:03:26 +0200</pubDate>
|
||||
<guid>http://localhost:1313/posts/my-first-post/</guid>
|
||||
<description><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></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Getting Started with Hugo</title>
|
||||
<link>http://localhost:1313/posts/hugoisforlovers/</link>
|
||||
<pubDate>Wed, 26 Oct 2022 17:12:11 +0700</pubDate>
|
||||
<guid>http://localhost:1313/posts/hugoisforlovers/</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></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Hugo Diagrams</title>
|
||||
<link>http://localhost:1313/posts/diagrams/</link>
|
||||
<pubDate>Tue, 25 Oct 2022 17:12:11 +0700</pubDate>
|
||||
<guid>http://localhost:1313/posts/diagrams/</guid>
|
||||
<description><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>
<pre tabindex="0"><code>```goat
 . . . .--- 1 .-- 1 / 1
 / \ | | .---+ .-+ +
 / \ .---+---. .--+--. | &#39;--- 2 | &#39;-- 2 / \ 2
 + + | | | | ---+ ---+ +
 / \ / \ .-+-. .-+-. .+. .+. | .--- 3 | .-- 3 \ / 3
 / \ / \ | | | | | | | | &#39;---+ &#39;-+ +
 1 2 3 4 1 2 3 4 1 2 3 4 &#39;--- 4 &#39;-- 4 \ 4

```
</code></pre><p>Will be rendered as:</p></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Introduce Hugo</title>
|
||||
<link>http://localhost:1313/posts/introduce-hugo/</link>
|
||||
<pubDate>Thu, 20 Oct 2022 17:12:11 +0700</pubDate>
|
||||
<guid>http://localhost:1313/posts/introduce-hugo/</guid>
|
||||
<description><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></description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Creating a New Theme</title>
|
||||
<link>http://localhost:1313/posts/creating-a-new-theme/</link>
|
||||
<pubDate>Fri, 22 Oct 2021 17:12:11 +0700</pubDate>
|
||||
<guid>http://localhost:1313/posts/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/migrate-from-jekyll/</link>
|
||||
<pubDate>Fri, 22 Oct 2021 17:12:11 +0700</pubDate>
|
||||
<guid>http://localhost:1313/posts/migrate-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>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-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="color:#f8f8f2;background-color:#272822;-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></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
Reference in New Issue
Block a user