<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?)]]></title><description><![CDATA[<h2><a class="anchor-offset" name="quot-使用和创造工具-是智慧的主要表现形式之一-quot-马克思"></a>" '使用和创造工具'是智慧的主要表现形式之一" ——马克思</h2>
<h2><a class="anchor-offset" name="请善用您的工具-譬如浏览器-如果你真的感兴趣的话"></a>请善用您的工具(譬如浏览器),如果你真的感兴趣的话!</h2>
<p dir="auto">工具:<br />
hugo <a href="https://github.com/gohugoio/hugo" target="_blank" rel="noopener noreferrer nofollow ugc">链接</a><br />
以及你的手 <a href="https://galgame.dev/assets/uploads/files/1705486708128-o.txt">链接</a><br />
非常简单,在终端输入<br />
Tips:windows用户请使用powershell而不是windows powershell!!!最好使用WSL!!!!!!</p>
<pre><code>hugo new side [你的网站名]
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" &gt;&gt; hugo.toml
hugo server
</code></pre>
<p dir="auto">创建新页面(需要MD文档基础 or Html基础)</p>
<pre><code>hugo new content posts/[页面名].md
</code></pre>
<p dir="auto">命令行在项目根目录输入</p>
<pre><code>hugo
</code></pre>
<p dir="auto">完事~<br />
至于md该怎么写请查看 <a href="https://gohugo.io/documentation/" target="_blank" rel="noopener noreferrer nofollow ugc">https://gohugo.io/documentation/</a><br />
至于服务器......我想你需要一个github账户<br />
新建一个仓库,命名格式</p>
<pre><code>[你的用户名,区分大小写].github.io
</code></pre>
<p dir="auto">设为公开,将刚才hugo生成的public文件夹<strong>中</strong>的内容(看看有没有index.html)上传到该仓库,大概过几分钟就可以看到你的网站了(前提是正确......)</p>
]]></description><link>https://galgame.dev/topic/536/hugo-绝杀-无解-史上最简单的blog制作教程-只需3分钟-大概</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 12:01:03 GMT</lastBuildDate><atom:link href="https://galgame.dev/topic/536.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jan 2024 10:57:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?) on Wed, 17 Jan 2024 21:45:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luohua">@<bdi>luohua</bdi></a> powershell主要是shell,windows powershell主要是windows[doge]</p>
]]></description><link>https://galgame.dev/post/2561</link><guid isPermaLink="true">https://galgame.dev/post/2561</guid><dc:creator><![CDATA[ErrorEutopia]]></dc:creator><pubDate>Wed, 17 Jan 2024 21:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to [hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?) on Wed, 17 Jan 2024 21:44:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viunesc">@<bdi>Viunesc</bdi></a> 感谢提醒</p>
]]></description><link>https://galgame.dev/post/2560</link><guid isPermaLink="true">https://galgame.dev/post/2560</guid><dc:creator><![CDATA[ErrorEutopia]]></dc:creator><pubDate>Wed, 17 Jan 2024 21:44:17 GMT</pubDate></item><item><title><![CDATA[Reply to [hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?) on Wed, 17 Jan 2024 18:08:24 GMT]]></title><description><![CDATA[<p dir="auto">powershell 和 windows powershell 有什么区别吗</p>
]]></description><link>https://galgame.dev/post/2555</link><guid isPermaLink="true">https://galgame.dev/post/2555</guid><dc:creator><![CDATA[luohua]]></dc:creator><pubDate>Wed, 17 Jan 2024 18:08:24 GMT</pubDate></item><item><title><![CDATA[Reply to [hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?) on Wed, 17 Jan 2024 13:04:09 GMT]]></title><description><![CDATA[<p dir="auto">顶顶，但是标题打错啦，应该是blog</p>
]]></description><link>https://galgame.dev/post/2522</link><guid isPermaLink="true">https://galgame.dev/post/2522</guid><dc:creator><![CDATA[Viunesc]]></dc:creator><pubDate>Wed, 17 Jan 2024 13:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to [hugo]绝杀,无解!--史上最简单的blog制作教程!只需3分钟!(大概?) on Wed, 17 Jan 2024 11:00:22 GMT]]></title><description><![CDATA[<p dir="auto">如果你找了,但找不到,可以找我<br />
没找的就算了</p>
]]></description><link>https://galgame.dev/post/2517</link><guid isPermaLink="true">https://galgame.dev/post/2517</guid><dc:creator><![CDATA[ErrorEutopia]]></dc:creator><pubDate>Wed, 17 Jan 2024 11:00:22 GMT</pubDate></item></channel></rss>