<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Hugo on Blog</title>
    <link>https://xzl.netlify.app/tags/hugo/</link>
    <description>Recent content in Hugo on Blog</description>
    <image>
      <title>Blog</title>
      <url>https://xzl.netlify.app/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://xzl.netlify.app/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.140.0</generator>
    <language>en</language>
    <lastBuildDate>Fri, 23 Aug 2019 10:35:17 +0800</lastBuildDate>
    <atom:link href="https://xzl.netlify.app/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>第一个博客</title>
      <link>https://xzl.netlify.app/post/%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8D%9A%E5%AE%A2/</link>
      <pubDate>Fri, 23 Aug 2019 10:35:17 +0800</pubDate>
      <guid>https://xzl.netlify.app/post/%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8D%9A%E5%AE%A2/</guid>
      <description>&lt;h2 id=&#34;搭建博客--freenom--github--netlify--cloudflare--hugo--extended-version--&#34;&gt;搭建博客 ( freenom + github + netlify / cloudflare + hugo ( extended version ) )&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;安装go、&lt;a href=&#34;https://gohugo.io/getting-started/installing&#34;&gt;hugo ( extended version )&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;http://freenom.com&#34;&gt;freenom&lt;/a&gt; 申请域名&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;github 帐户登录 &lt;a href=&#34;https://www.netlify.com/&#34;&gt;netlify&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;选择&lt;a href=&#34;https://themes.gohugo.io/&#34;&gt;主题&lt;/a&gt;，如 Academic&lt;/p&gt;
&lt;p&gt;打开 &lt;a href=&#34;https://sourcethemes.com/academic/docs/install/#install-with-web-browser&#34;&gt;Install Academic with Netlify&lt;/a&gt;，点击 &lt;code&gt;connect to github&lt;/code&gt;，键入博客仓库名，点击 &lt;code&gt;Domain Settings&lt;/code&gt;，添加域名&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;1566526203969&#34; loading=&#34;lazy&#34; src=&#34;../../img/%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8D%9A%E5%AE%A2.assets/1566526203969.png&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;初始化主题&lt;/p&gt;
&lt;p&gt;在博客根目录下 &lt;code&gt;git submodule update --init --recursive&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;配置 Nameservers&lt;/p&gt;
&lt;p&gt;打开 &lt;a href=&#34;http://freenom.com&#34;&gt;freenom&lt;/a&gt;，依次点击 Services - My Domains - Manage Domains - Management Tools - Nameservers，按以下填入（如果不使用 Netlify，而用 Cloudflare 的话，按照后者提供的信息来填写）:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;dns1.p05.nsone.net&lt;/li&gt;
&lt;li&gt;dns2.p05.nsone.net&lt;/li&gt;
&lt;li&gt;dns3.p05.nsone.net&lt;/li&gt;
&lt;li&gt;dns4.p05.nsone.net&lt;/li&gt;
&lt;li&gt;dns5.p05.nsone.net&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;创建第一篇博客&lt;/p&gt;
&lt;p&gt;本地博客根目录下打开 &lt;code&gt;cmd&lt;/code&gt;, 键入 &lt;code&gt;hugo new post/FirstBlog.md&lt;/code&gt; , 在生成的 &lt;code&gt;hugo_blog\academic-kickstart\content\post\FirstBlog.md&lt;/code&gt; 中编写 blog&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
