<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>博客 on 流动</title>
		<link>https://liudon.com/tags/%E5%8D%9A%E5%AE%A2/</link>
		<description>Recent content in 博客 on 流动</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Fri, 13 May 2022 18:20:52 +0800</lastBuildDate>
		
			<atom:link href="https://liudon.com/tags/%E5%8D%9A%E5%AE%A2/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>整理下博客的一些调整</title>
				<link>https://liudon.com/posts/%E6%95%B4%E7%90%86%E4%B8%8B%E5%8D%9A%E5%AE%A2%E7%9A%84%E4%B8%80%E4%BA%9B%E8%B0%83%E6%95%B4/</link>
				<pubDate>Fri, 13 May 2022 18:20:52 +0800</pubDate>
				<guid>https://liudon.com/posts/%E6%95%B4%E7%90%86%E4%B8%8B%E5%8D%9A%E5%AE%A2%E7%9A%84%E4%B8%80%E4%BA%9B%E8%B0%83%E6%95%B4/</guid>
				<description>&lt;p&gt;新域名上线一段时间了，通过&lt;code&gt;Google Search Console&lt;/code&gt;发现了一些问题，整理下最近进行的一些调整。&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;更新主题版本，展示文章tag标签&#xA;通过对比主题作者的网站，发现使用的不是最新代码。&lt;/p&gt;&#xA;&lt;p&gt;通过调整&lt;code&gt;Github Actions&lt;/code&gt;命令解决：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;- name: Checkout repository&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    uses: actions/checkout@v2&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  - name: Checkout submodules&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    run: git submodule update --init --recursive --remote&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;修正404页面不生效的问题&#xA;主题是自带了404.html文件的，但是部署后没有生成对应文件。&lt;/p&gt;&#xA;&lt;p&gt;修改404.html文件内容后解决，具体原因没有深究，感觉是文件内容不是完整html导致。&lt;/p&gt;&#xA;&lt;p&gt;可参考&lt;a href=&#34;https://github.com/Liudon/liudon.github.io/blob/code/layouts/404.html&#34;&gt;文件代码&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;两个域名导致的页面权重问题&#xA;发现有些页面&lt;code&gt;liudon.xyz&lt;/code&gt;收录后，&lt;code&gt;liudon.com&lt;/code&gt;就不再收录。&lt;/p&gt;&#xA;&lt;p&gt;为了规避这种收录问题，将&lt;code&gt;liudon.xyz&lt;/code&gt;直接301到了&lt;code&gt;liudon.com&lt;/code&gt;上。&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
			</item>
	</channel>
</rss>
