<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="https://wujun728.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://wujun728.github.io/" rel="alternate" type="text/html" /><updated>2021-08-03T15:13:14+00:00</updated><id>https://wujun728.github.io/feed.xml</id><title type="html">Wujun’s blog</title><subtitle>个人技术公众号「Java后端技术」分享、记录、成长</subtitle><entry><title type="html">博客标题template</title><link href="https://wujun728.github.io/template_blog_with_github_pages/" rel="alternate" type="text/html" title="博客标题template" /><published>2021-08-01T00:00:00+00:00</published><updated>2021-08-01T00:00:00+00:00</updated><id>https://wujun728.github.io/template_blog_with_github_pages</id><content type="html" xml:base="https://wujun728.github.io/template_blog_with_github_pages/">&lt;p&gt;博客内容简介，这里，描述模块的内容概要&lt;/p&gt;

&lt;!-- more --&gt;

&lt;h2 id=&quot;段落标题&quot;&gt;段落标题&lt;/h2&gt;

&lt;p&gt;段落内容&lt;/p&gt;

&lt;h2 id=&quot;段落标题-1&quot;&gt;段落标题&lt;/h2&gt;

&lt;p&gt;段落内容&lt;/p&gt;

&lt;h2 id=&quot;段落标题-2&quot;&gt;段落标题&lt;/h2&gt;

&lt;p&gt;段落内容&lt;/p&gt;

&lt;h2 id=&quot;段落标题-3&quot;&gt;段落标题&lt;/h2&gt;

&lt;p&gt;段落内容&lt;/p&gt;</content><author><name>wujun</name></author><category term="java" /><summary type="html">博客内容简介，这里，描述模块的内容概要</summary></entry><entry><title type="html">可能是最全面的github pages搭建个人博客教程</title><link href="https://wujun728.github.io/create_blog_with_github_pages/" rel="alternate" type="text/html" title="可能是最全面的github pages搭建个人博客教程" /><published>2019-11-22T00:00:00+00:00</published><updated>2019-11-22T00:00:00+00:00</updated><id>https://wujun728.github.io/create_blog_with_github_pages</id><content type="html" xml:base="https://wujun728.github.io/create_blog_with_github_pages/">&lt;p&gt;作为一个程序员怎么能没有自己的个人博客呢，这里详细记录和分享我的博客搭建经验，让你轻轻松松拥有自己的博客网站。傻瓜式一站式教你用 github pages 来搭建博客，详细记录全过程，保证你能学会。&lt;/p&gt;

&lt;p&gt;如果你是非程序员或者不关系技术细节，只需花 3 分钟阅读前面 5 个章节内容，就能轻松拥有自己的博客。&lt;/p&gt;

&lt;!-- more --&gt;

&lt;h2 id=&quot;开始&quot;&gt;开始&lt;/h2&gt;

&lt;p&gt;话不多说，直接上图先来看下我的博客整体效果。&lt;a href=&quot;https://lemonchann.github.io/blog/&quot;&gt;&lt;strong&gt;点击在线预览我的博客&lt;/strong&gt;&lt;/a&gt;，个人比较喜欢这种简约的博客风格，不要花里胡哨但该有的功也都有。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/blogPage.png&quot; alt=&quot;blogPage&quot; /&gt;&lt;/p&gt;

&lt;p&gt;下面列举这个博客具有的功能特性，其中我比较看重归档和搜索能力。&lt;/p&gt;

&lt;h3 id=&quot;支持特性&quot;&gt;支持特性&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;简约风格博客&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Powered By Jekyll&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;博客文章搜索&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;自定义社交链接&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;网站访客统计&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Google Analytics 网站分析&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Gitalk评论功能&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;自定义关于about页面&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;支持中文布局&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;支持归档与标签&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;支持改变主题颜色&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;支持添加文章目录&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;建立博客git仓库&quot;&gt;建立博客Git仓库&lt;/h2&gt;

&lt;p&gt;首先你要在&lt;a href=&quot;https://github.com/&quot;&gt;github&lt;/a&gt;上有自己博客仓库，用来生成和存放博客文章。你可以直接fork我的博客仓库。这样你马上有了自己的博客仓库。&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/lemonchann/lemonchann.github.io&quot;&gt;点这里我的博客地址&lt;/a&gt;进去点击 fork，之后在你自己的仓库下会看到刚复制的仓库，以后的操作都在你自己的仓库进行，当然想感谢我写这个教程就帮我点个 start 吧！&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/fork%E5%8D%9A%E5%AE%A2.png&quot; alt=&quot;fork博客&quot; /&gt;&lt;/p&gt;

&lt;p&gt;**版权声明： fork之后_posts文件夹内容是我的博客文章，版权归我所有。你可以选择删除里面的文章替换上自己的博客文章，如需转载需要与我联系授权 **。&lt;/p&gt;

&lt;h2 id=&quot;修改博客仓库名称&quot;&gt;修改博客仓库名称&lt;/h2&gt;

&lt;p&gt;进到你自己的博客仓库，&lt;strong&gt;修改博客仓库名称成你自己的用户名&lt;/strong&gt;。因为 github page 解析的时候找的是这个 username.github.io的仓库名，&lt;strong&gt;这一步非常重要&lt;/strong&gt;。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E4%BF%AE%E6%94%B9%E4%BB%93%E5%BA%93%E5%90%8D%E7%A7%B0.png&quot; alt=&quot;修改仓库名称&quot; /&gt;&lt;/p&gt;

&lt;p&gt;此时，不出意外的话，打开域名 https://username.github.io 就能看到你刚搭建的博客了。&lt;em&gt;注意替换 username成你自己的github 用户名&lt;/em&gt;。&lt;/p&gt;

&lt;h2 id=&quot;博客配置&quot;&gt;博客配置&lt;/h2&gt;

&lt;p&gt;上面点开域名看到的还是我的博客配置，显示的博客名字也是我的。还需要更改配置才是你的博客。&lt;/p&gt;

&lt;p&gt;博客的配置文件是仓库根目录下的_config.yml文件，直接点开它编辑。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/config%E6%96%87%E4%BB%B6.png&quot; alt=&quot;config文件&quot; /&gt;&lt;/p&gt;

&lt;p&gt;你还需要更改以下配置：&lt;/p&gt;

&lt;h3 id=&quot;博客名称和描述&quot;&gt;博客名称和描述&lt;/h3&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E6%9B%B4%E6%94%B9%E5%90%8D%E7%A7%B0.png&quot; alt=&quot;更改名称&quot; /&gt;&lt;/p&gt;

&lt;p&gt;分别是博客名称和描述，自己任意写点啥。&lt;/p&gt;

&lt;h3 id=&quot;博客社交链接&quot;&gt;博客社交链接&lt;/h3&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E6%9B%B4%E6%94%B9%E7%A4%BE%E4%BA%A4%E9%93%BE%E6%8E%A5.png&quot; alt=&quot;更改社交链接&quot; /&gt;&lt;/p&gt;

&lt;p&gt;这里配置社交链接按钮，没配的不显示，我现在配了知乎、邮箱、github账号三个。其他你想加自己加上就可以。&lt;/p&gt;

&lt;h3 id=&quot;配置gitalk&quot;&gt;配置gitalk&lt;/h3&gt;

&lt;p&gt;这个是评论功能的配置。评论功能基于gitalk，在配置文件中找到gitalk配置项目：&lt;/p&gt;

&lt;p&gt;修改规则如下：&lt;/p&gt;

&lt;div class=&quot;language-yml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;gitalk&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;clientID&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;lt;你的clientID&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;clientSecret&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;lt;你的clientSecret&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;repo&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;lt;你的repository名称&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;owner&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;lt;你的GitHub用户名&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;原理是利用github的issues评论文章。其中clientID和clientSecret需要&lt;a href=&quot;https://github.com/settings/applications/new&quot;&gt;点击这里创建&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E5%88%9B%E5%BB%BAgitalk%E9%89%B4%E6%9D%83app.png&quot; alt=&quot;创建gitalk鉴权app&quot; /&gt;&lt;/p&gt;

&lt;p&gt;点绿色按钮创建，成功之后会得到以上两个id，修改配置即可。&lt;/p&gt;

&lt;h3 id=&quot;google站长统计&quot;&gt;Google站长统计&lt;/h3&gt;

&lt;p&gt;首先你要去注册一个&lt;a href=&quot;https://analytics.google.com/analytics/&quot;&gt;Google Analytics&lt;/a&gt;账号，它可以统计你博客网站的访问人数，访问来源等非常丰富的网站数据。如果你不在乎可以不用跳过这节。不过要把配置中我的&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;google_analytics: UA-XXXXXXX-X&lt;/code&gt;删除，&lt;strong&gt;否则统计到我的去了&lt;/strong&gt;。&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
google_analytics: UA-XXXXXXX-X
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;下面是我的网站实时分析页面展示：&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/google%E5%88%86%E6%9E%90%E9%A1%B5%E9%9D%A2.png&quot; alt=&quot;google分析页面&quot; /&gt;&lt;/p&gt;

&lt;p&gt;由于不可描述的原因，国内注册账号可能会遇到问题，所有不配置也没关系。&lt;/p&gt;

&lt;h3 id=&quot;博客网址配置&quot;&gt;博客网址配置&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
# Used for Sitemap.xml and your RSS feed
url: https://yourname.github.io
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;这里配置你自己的博客地址。&lt;/p&gt;

&lt;h3 id=&quot;配置提交&quot;&gt;配置提交&lt;/h3&gt;

&lt;p&gt;对_config.ymld的修改需要提交才能生效，点下图中绿色按钮提交。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E9%85%8D%E7%BD%AE%E6%8F%90%E4%BA%A4.png&quot; alt=&quot;配置提交&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;done! 现在输入上面提到的博客地址，回车，你拥有了自己的博客。&lt;/strong&gt;&lt;/p&gt;

&lt;h2 id=&quot;如何写博客&quot;&gt;如何写博客&lt;/h2&gt;

&lt;p&gt;好了，博客有了。如何更新文章呢？&lt;/p&gt;

&lt;p&gt;文章用markdown语法，写好统一放在_post文件夹下上传，git page会自动从你的git仓库拉去解析成网页，立刻就能在你的博客网页浏览。&lt;/p&gt;

&lt;p&gt;关于文章的&lt;strong&gt;命名格式&lt;/strong&gt;：博客文章必须按照统一的命名格式 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yyyy-mm-dd-blogName.md&lt;/code&gt; 比如我这篇博客的名字是&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;2019-11-22-create_blog_with_github_pages.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;看到这里，如果只是简单的想写博客，后面的不看也可以了，你已经拥有了自己的博客！后面章节是记录一些DIY的过程。&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;另外，发现最近用我这个模板的同学越来越多，如果搭建过程中有什么问题，可以在我的公众号「后端技术学堂」讨论交流。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://upload-images.jianshu.io/upload_images/7842464-15f939ec039690f6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240&quot; alt=&quot;公众号二维码&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;本地博客预览&quot;&gt;本地博客预览&lt;/h2&gt;

&lt;p&gt;到目前为止，我们提交的文章都是必须上传到github仓库才能预览。如果你想写完在本地浏览器看一下效果在上传也是可以的，因为不是所有人都有这样的需求。&lt;/p&gt;

&lt;h3 id=&quot;安装-ruby-和-devkit&quot;&gt;安装 Ruby 和 DevKit&lt;/h3&gt;

&lt;p&gt;在官网下载，&lt;a href=&quot;https://rubyinstaller.org/downloads/&quot;&gt;点这里&lt;/a&gt;下载适合系统版本的 &lt;a href=&quot;https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.5-1/rubyinstaller-devkit-2.6.5-1-x64.exe&quot;&gt;Ruby+Devkit&lt;/a&gt; 包。安装，弹出的窗口选3&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/%E5%AE%89%E8%A3%85ruby.PNG&quot; alt=&quot;安装ruby&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem -v&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby -v&lt;/code&gt; 查看得到版本号就说明成功了。&lt;/p&gt;

&lt;p&gt;如果是在墙内，需要切换安装源到https://gems.ruby-china.com/。墙外请忽略。&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/&lt;/code&gt; 切换安装源&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem sources -l&lt;/code&gt; 查看版本&lt;/p&gt;

&lt;h3 id=&quot;bundler安装&quot;&gt;bundler安装&lt;/h3&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install bundler&lt;/code&gt; 安装bundler&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle -v 查看版本
 bundle config mirror.https://rubygems.org https://gems.ruby-china.com&lt;/code&gt; 切换安装源&lt;/p&gt;

&lt;h3 id=&quot;安装jekyll&quot;&gt;安装jekyll&lt;/h3&gt;

&lt;p&gt;` gem install jekyll`&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/jekyll%E5%AE%89%E8%A3%85.PNG&quot; alt=&quot;jekyll安装&quot; /&gt;&lt;/p&gt;

&lt;h3 id=&quot;预览博客&quot;&gt;预览博客&lt;/h3&gt;

&lt;p&gt;` jekyll server` 输入之后打开浏览器，不出意外输入localhost:4000即可看到博客内容。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/jekyll_server%E6%88%90%E5%8A%9F.PNG&quot; alt=&quot;jekyll_server成功&quot; /&gt;&lt;/p&gt;

&lt;p&gt;如果你没这么顺利，那以下的错误解决供参考&lt;/p&gt;

&lt;h4 id=&quot;常见错误&quot;&gt;常见错误&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;缺少某个包&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/jekyll_error.PNG&quot; alt=&quot;jekyll_error&quot; /&gt;&lt;/p&gt;

&lt;p&gt;如图，缺少jekyll-paginate，安装即可&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gem install jekyll-paginate&lt;/code&gt;若还提示缺少就装啥。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/jekyll_server_erro%E9%94%99%E8%AF%AF2.PNG&quot; alt=&quot;jekyll_server_erro错误2&quot; /&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;权限拒绝&lt;/p&gt;

    &lt;p&gt;socket.rb:201:in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bind&lt;/code&gt; :Permission denied - bind(2) for 127.0.0.1:4000 (Error:EACCES)&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://github.com/lemonchann/lemonchann.github.io/raw/master/images/2019-11-22-create_blog_with_github_pages/jekyll_error_EASSE.png&quot; alt=&quot;jekyll_error_EASSE&quot; /&gt;&lt;/p&gt;

&lt;p&gt;出现这个错误一般是4000端口被占用了，解决方法：&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;table&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;netstat -ano&lt;/td&gt;
          &lt;td&gt;findstr “4000” 找到占用4000端口的进程ID&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;查看最后一列数字就是PID=312964
&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E6%9F%A5%E7%9C%8Bnetstat.png&quot; alt=&quot;查看netstat&quot; /&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;打开windows资源管理器，结束该进程.&lt;/p&gt;

    &lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/%E4%BB%BB%E5%8A%A1%E7%AE%A1%E7%90%86%E5%99%A8.png&quot; alt=&quot;任务管理器&quot; /&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$ tasklist|findstr 312964&lt;/code&gt;也能查看进程名，查到结束掉他同步骤3.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;搜索功能集成&quot;&gt;搜索功能集成&lt;/h2&gt;

&lt;p&gt;博客模板本来是没有搜索功能的，搜索功能依赖&lt;a href=&quot;https://github.com/christian-fei/Simple-Jekyll-Search&quot;&gt;Simple-Jekyll-Search&lt;/a&gt;提供支持。&lt;/p&gt;

&lt;h3 id=&quot;配置searchjson&quot;&gt;配置search.json&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/christian-fei/Simple-Jekyll-Search/blob/master/example/search.json&quot;&gt;复制这份代码到你博客的根目录&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;这个配置文件代表可以按博客的标题、标签、时间、分类搜索。&lt;/p&gt;

&lt;h3 id=&quot;下载simple-jekyll-searchj文件&quot;&gt;下载simple-jekyll-searchj文件&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/christian-fei/Simple-Jekyll-Search/tree/master/example/js&quot;&gt;下载这整个文件夹&lt;/a&gt;，里面包含simple-jekyll-search.min.js和simple-jekyll-search.js两个文件，连同js文件夹放在你的根目录下面。&lt;/p&gt;

&lt;h3 id=&quot;配置搜索框标签&quot;&gt;配置搜索框标签&lt;/h3&gt;

&lt;p&gt;在你想展示搜索框的页面我的是index.html，这个页面和每个人的博客模板有关，可能需要一点前端知识，添加如下的html标签。&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search-container&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search-input&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;search blog posts...&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;nt&quot;&gt;&amp;lt;ul&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;results-container&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;&amp;lt;!--script src=&quot;https://unpkg.com/simple-jekyll-search/dest/simple-jekyll-search.min.js&quot;&amp;gt;&amp;lt;/script--&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;script &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;src=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;/js/simple-jekyll-search.min.js&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;

&lt;span class=&quot;nt&quot;&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nb&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;simpleJekyllSearch&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;SimpleJekyllSearch&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;searchInput&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;search-input&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;resultsContainer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;results-container&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;json&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;/search.json&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;searchResultTemplate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&quot;{url}?query={query}&quot; title=&quot;{desc}&quot;&amp;gt;{title}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;noResultsText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;No results found&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;limit&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;fuzzy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;na&quot;&gt;exclude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;Welcome&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;})&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;其中，以下两个是二选一的，一个是用云端的js一个是用本地的js如果本地有的话。&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;script src=&quot;https://unpkg.com/simple-jekyll-search/dest/simple-jekyll-search.min.js&quot;&amp;gt;&amp;lt;/script--&amp;gt; &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;script src=&quot;/js/simple-jekyll-search.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;配置完成，打开博客，你得到这样一个搜索框。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/search_block.png&quot; alt=&quot;search_block&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;搜索框样式&quot;&gt;搜索框样式&lt;/h2&gt;

&lt;p&gt;搜索框的样式是可以改变的，这里有修改HTML中CSS样式的方法，我搞后端的，前端现学现卖。&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/u014103733/article/details/72961366&quot;&gt;html插入标签样式方法&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;社交链接&quot;&gt;社交链接&lt;/h2&gt;

&lt;p&gt;模板提供的链接没有知乎链接，或者你想增加自定义的链接，都可以通过以下方法添加。以增加zhihu链接为例&lt;/p&gt;

&lt;p&gt;链接的图片是svg格式的(我也刚知道)，大概了解一下什么是svg和viewBox&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://developer.mozilla.org/zh-CN/docs/Web/SVG/Attribute/viewBox&quot;&gt;viewBox&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;viewBox属性的值是一个包含4个参数的列表 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;min-x&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;min-y&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;width&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;height&lt;/code&gt;， 以空格或者逗号分隔开， 在用户空间中指定一个矩形区域映射到给定的元素,查看属性&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://zhuanlan.zhihu.com/p/36138381&quot;&gt;深入简出 SVG 教程&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;配置_configyml&quot;&gt;配置_config.yml&lt;/h3&gt;

&lt;div class=&quot;language-yml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;footer-links&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;weibo&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;yourname&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;#请输入你的微博个性域名 https://www.weibo.com/&amp;lt;yourname&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;zhihu&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;yourname&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;#输入你知乎主页链接上的名字 https://https://www.zhihu.com/people/&amp;lt;yourname&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;修改svg-iconshtml&quot;&gt;修改svg-icons.html&lt;/h3&gt;

&lt;p&gt;因为footer.html中调用了svg-icons.html来生成社交链接。&lt;/p&gt;

&lt;p&gt;可见是先调用了svg-icon.html显示社交链接，所以修改_include/svg-icons.html增加zhihu链接&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;上面配置内容应该都能理解，&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;viewBox&lt;/code&gt; 指定图片大小。&lt;/p&gt;

&lt;p&gt;主要是&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;path d=&lt;/code&gt; 内容的获取，这里其实是指定svg图片的内容，我们可以从 &lt;a href=&quot;https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/svgs/brands/&quot;&gt;这里&lt;/a&gt;获取到大部分svg素材，比如知乎的svg&lt;a href=&quot;https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/zhihu.svg&quot;&gt;在这&lt;/a&gt;，点&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;raw&lt;/code&gt; 按钮查看源文件，复制&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;path d=&lt;/code&gt;后面的内容到上面的配置即可。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/zhihuSvg.png&quot; alt=&quot;zhihuSvg&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;添加网站计数&quot;&gt;添加网站计数&lt;/h2&gt;

&lt;p&gt;网站统计&lt;a href=&quot;http://busuanzi.ibruce.info/&quot;&gt;由不蒜子&lt;/a&gt;提供支持，就是可以统计网站当前访问次数和人数。配置也非常简单，&lt;a href=&quot;http://ibruce.info/2015/04/04/busuanzi/#more&quot;&gt;官方指引&lt;/a&gt;在这里。&lt;/p&gt;

&lt;h3 id=&quot;修改页面html&quot;&gt;修改页面html&lt;/h3&gt;

&lt;p&gt;想让统计显示在哪个页面，需要修改那个页面的html，增加如下内容：&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;&amp;lt;!--不算子网站访客统计--&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;script &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;async&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- pv的方式，单个用户连续点击n篇文章，记录n次访问量 --&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;align=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;center&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;busuanzi_container_site_pv&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;font-family:Consolas;color:Silver;font-size:12px;&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
		View:&lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;busuanzi_value_site_pv&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;font-family:Consolas;color:Silver;font-size:12px;&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nt&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;c&quot;&gt;&amp;lt;!-- uv的方式，单个用户连续点击n篇文章，只记录1次访客数 --&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;busuanzi_container_site_uv&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;font-family:Consolas;color:Silver;font-size:12px;&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
		User:&lt;span class=&quot;nt&quot;&gt;&amp;lt;span&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;busuanzi_value_site_uv&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;font-family:Consolas;color:Silver;font-size:12px;&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;nt&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;style标签说明&quot;&gt;style标签说明&lt;/h3&gt;

&lt;p&gt;可以通过style标签改变字体颜色与大小。具体参考:&lt;a href=&quot;http://xh.5156edu.com/page/z1015m9220j18754.html&quot;&gt;html颜色表&lt;/a&gt;和&lt;a href=&quot;https://www.geeksforgeeks.org/html-style-attribute/&quot;&gt;html style属性&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;eg.  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;style=&quot;font-family:arial;color:Gainsboro;font-size:10px; text-align:right;width:200px;background-color:gray;&lt;/code&gt;&lt;/p&gt;

&lt;h2 id=&quot;修改博客主题颜色&quot;&gt;修改博客主题颜色&lt;/h2&gt;

&lt;p&gt;博客使用开源的颜色表&lt;a href=&quot;https://yeun.github.io/open-color/&quot;&gt;Open Color&lt;/a&gt;，博客主题的可选颜色有：&lt;/p&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;red, pink, grape, violet, indigo, blue, cyan, teal, green, lime, yellow&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;修改文件&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_sass/_variables.scss&lt;/code&gt;，将文件中当前颜色，比如当前是 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;grape&lt;/code&gt; 全部替换成你想要的颜色即可。&lt;/p&gt;

&lt;h2 id=&quot;显示文章目录&quot;&gt;显示文章目录&lt;/h2&gt;

&lt;p&gt;在文章开头信息中心增加 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;toc: true&lt;/code&gt; 描述即可打开文章目录显示。效果如下：&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://i.loli.net/2020/07/12/TFlRj3kBdpocY9K.png&quot; alt=&quot;文章带目录&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;如何传图片&quot;&gt;如何传图片&lt;/h2&gt;

&lt;p&gt;写markdown最头疼的就是图片的插入了，推荐用&lt;a href=&quot;https://picgo.github.io/PicGo-Doc/zh/guide/&quot;&gt;PicGo&lt;/a&gt;一键上传得到链接，直接可以插入markdown。&lt;/p&gt;

&lt;p&gt;PicGo支持图片上传github、SM.MS图床、阿里云、腾讯云等主流图床或云端。直接拖图片，上传云端、得到链接一步搞定，方便快捷。&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/lemonchann/lemonchann.github.io/master/images/2019-11-22-create_blog_with_github_pages/PicGo.png&quot; alt=&quot;PicGo&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;其他功能&quot;&gt;其他功能&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/ds19991999/article/details/81293467&quot;&gt;小功能&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://blog.csdn.net/u012702547/article/details/100533763&quot;&gt;好用的github插件&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;网站结构&quot;&gt;网站结构&lt;/h2&gt;

&lt;p&gt;根目录的index.html生成blog首页&lt;/p&gt;

&lt;p&gt;_include/footer.html生成侧边栏&lt;/p&gt;

&lt;p&gt;_include/svg-icons.html生成社交头像的链接&lt;/p&gt;

&lt;h2 id=&quot;致谢&quot;&gt;致谢&lt;/h2&gt;

&lt;p&gt;感谢 &lt;a href=&quot;https://www.jekyll.com.cn/&quot;&gt;Jekyll&lt;/a&gt; 提供的技术支持才能有这个博客。&lt;/p&gt;

&lt;p&gt;感谢 &lt;a href=&quot;https://fromendworld.github.io/LOFFER/document/&quot;&gt;LOFFER &lt;/a&gt;提供的原始模板，我在其上进行的二次开发。&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;我的个人技术公众号「后端技术学堂」分享、记录、成长，扫码添加，一起学习，共同成长。&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://upload-images.jianshu.io/upload_images/7842464-15f939ec039690f6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240&quot; alt=&quot;公众号二维码&quot; /&gt;&lt;/p&gt;</content><author><name>lemonchann</name></author><category term="geek" /><summary type="html">作为一个程序员怎么能没有自己的个人博客呢，这里详细记录和分享我的博客搭建经验，让你轻轻松松拥有自己的博客网站。傻瓜式一站式教你用 github pages 来搭建博客，详细记录全过程，保证你能学会。 如果你是非程序员或者不关系技术细节，只需花 3 分钟阅读前面 5 个章节内容，就能轻松拥有自己的博客。</summary></entry></feed>