Skip to content

Commit

Permalink
Site updated: 2023-10-19 22:08:23
Browse files Browse the repository at this point in the history
  • Loading branch information
bg51717 committed Oct 19, 2023
1 parent 086881e commit f605804
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta property="og:description" content="介绍以前一直不理解更新博客的用处,后来发现记录一些学到的东西和处理问题的经验对个人还是互联网都是有促进作用的(希望不是在生产互联网垃圾)。 所以本文会介绍一下个人搭建这个博客的过程。 博客风格 简洁(本来想弄点二次元风格的,但是博客还是减少点无用东西吧) 多级分类:多级分类可以帮助来快速浏览学过的知识点 标签:标签还是比较重要的,可以实习对相关博客的快速定位 主题选择基于上述的需求,最终选择了W">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-10-18T08:12:44.000Z">
<meta property="article:modified_time" content="2023-10-19T13:46:32.471Z">
<meta property="article:modified_time" content="2023-10-19T14:07:57.373Z">
<meta property="article:author" content="lacia">
<meta property="article:tag" content="博客">
<meta property="article:tag" content="Hexo">
Expand Down Expand Up @@ -425,7 +425,7 @@ <h2 id="评论系统giscus"><a href="#评论系统giscus" class="headerlink" tit
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><span class="line">&lt;% /* 其他代码 */ %&gt;</span><br><span class="line"></span><br><span class="line">&lt;% if (theme.gitalk.enable) &#123; %&gt;</span><br><span class="line"></span><br><span class="line">&lt;script src=&quot;https://giscus.app/client.js&quot;</span><br><span class="line"> data-repo=&quot;bg51717/Hexo-Blogs-comments&quot;</span><br><span class="line"> data-repo-id=&quot;*********&quot;</span><br><span class="line"> data-category=&quot;General&quot;</span><br><span class="line"> data-category-id=&quot;*********&quot;</span><br><span class="line"> data-mapping=&quot;pathname&quot;</span><br><span class="line"> data-strict=&quot;0&quot;</span><br><span class="line"> data-reactions-enabled=&quot;1&quot;</span><br><span class="line"> data-emit-metadata=&quot;0&quot;</span><br><span class="line"> data-input-position=&quot;top&quot;</span><br><span class="line"> data-theme=&quot;light&quot;</span><br><span class="line"> data-lang=&quot;zh-CN&quot;</span><br><span class="line"> data-loading=&quot;lazy&quot;</span><br><span class="line"> crossorigin=&quot;anonymous&quot;</span><br><span class="line"> async&gt;</span><br><span class="line">&lt;/script&gt;</span><br><span class="line"></span><br><span class="line">&lt;% &#125; %&gt;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"> &lt;footer class=&quot;article-footer&quot;&gt;</span><br><span class="line"> &lt;/footer&gt;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line">&lt;% /* 其他代码 */ %&gt;</span><br></pre></td></tr></table></figure>

<h2 id="常见QA"><a href="#常见QA" class="headerlink" title="常见QA"></a>常见QA</h2><p>1.<strong>修改配置文件应该修改站点的 <code>_config.yml</code> 还是主题的 <code>_config.yml</code>?</strong><br>具体使用哪个,要看主题的源代码,如果是 <code>config.xxx</code>那就是用的根目录配置文件,如果是 <code>theme.xxx</code>那就用的是主题目录的配置文件。</p>
<p>2.<strong>怎么让自己的博客可以被常用搜索引擎搜索到?</strong><br>很多搜索引擎可以在搜索框里用<code>site:网址</code>来判断是否被收录<br><strong>Google</strong><br>1.打开Google搜索,搜索“Google Search Console”<br>2.根据提示登录你的Google账号<br>3.选择资源类型<br>4.选择验证方式(本博客用的是<strong>HTML标记</strong>,把对应代码添加到主题文件里面,本主题是<code>themes/Wikitten/layout/common/head.ejs</code>)</p>
<p>2.<strong>怎么让自己的博客可以被常用搜索引擎搜索到?</strong><br>很多搜索引擎可以在搜索框里用<code>site:网址</code>来判断是否被收录<br><strong>Google</strong><br>1.打开Google搜索,搜索“Google Search Console”<br>2.根据提示登录你的Google账号<br>3.选择资源类型<br>4.选择验证方式(本博客用的是<strong>HTML标记</strong>,把对应代码添加到主题文件里面,本主题是<code>themes/Wikitten/layout/common/head.ejs</code>)<br>5.在Google Search Console后台添加站点地图</p>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h2><blockquote>
<ul>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/60578464">使用 Hexo+GitHub 搭建个人免费博客教程(小白向)</a></li>
Expand Down
4 changes: 2 additions & 2 deletions atom.xml

Large diffs are not rendered by default.

Loading

0 comments on commit f605804

Please sign in to comment.