<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>卢达的技术博客 - 专注于C#|Go|DevOps|运维开发</title><link>http://ludard.com/</link><description>Recent content on 卢达的技术博客 - 专注于C#|Go|DevOps|运维开发</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>卢达</copyright><lastBuildDate>Thu, 06 Oct 2022 21:00:31 +0800</lastBuildDate><atom:link href="http://ludard.com/index.xml" rel="self" type="application/rss+xml"/><item><title>关于</title><link>http://ludard.com/about/</link><pubDate>Thu, 08 Sep 2022 15:57:52 +0800</pubDate><guid>http://ludard.com/about/</guid><description>你好！我是卢达，欢迎来到我的博客。这里记录了我的一些技术文章和思考点滴。网站域名是 ludard.com，名字 luda + 职业 RD(Research &amp;amp; Developer) 开发工程师。 关于我</description></item><item><title>「Hugo 博客搭建」5.添加全文搜索</title><link>http://ludard.com/post/tech/create-blog-step-by-step-5/</link><pubDate>Thu, 06 Oct 2022 21:00:31 +0800</pubDate><guid>http://ludard.com/post/tech/create-blog-step-by-step-5/</guid><description>&lt;p>提供全文搜索的引擎有很多，但是使用简单、结果准确的只有以下几个：&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://docs.meilisearch.com/">Meilisearch&lt;/a> 免费开源、快速准确、支持中文、使用简单的搜索引擎，如果有服务器非常推荐。&lt;/li>
&lt;li>&lt;a href="https://www.algolia.com/">algolia&lt;/a> 商业软件，每月免费一万次搜索。适用于小型博客&lt;/li>
&lt;li>&lt;a href="https://github.com/krisk/Fuse">Fuse&lt;/a> 非常轻量级的模糊搜索JS库&lt;/li>
&lt;li>&lt;a href="https://pagefind.app/">Pagefind&lt;/a> 静态全文搜索工具，通过 &lt;a href="https://www.npmjs.com/package/pagefind">wrapper package through npm&lt;/a> 生成索引文件&lt;/li>
&lt;/ul></description></item><item><title>「Hugo 博客搭建」4.添加博客评论系统</title><link>http://ludard.com/post/tech/create-blog-step-by-step-4/</link><pubDate>Tue, 27 Sep 2022 21:41:16 +0800</pubDate><guid>http://ludard.com/post/tech/create-blog-step-by-step-4/</guid><description>&lt;p>经过几期的搭建，博客已经完全正常运行了。是时候给博客添加评论系统了，评论系统有以下好处：&lt;/p>
&lt;ul>
&lt;li>文章有不通顺的地方，比如有错别字、敏感字、配图错误等，读者可以指出来有利于提高文章质量&lt;/li>
&lt;li>读者阅读之后可能有不清楚的地方，作者可以答疑解惑，有利于双方共同提升&lt;/li>
&lt;li>更多的正向反馈能激发创作热情，更长久的创作&lt;/li>
&lt;li>……&lt;/li>
&lt;/ul>
&lt;p>经过搜索对比后，当前有两种类型的评论系统&lt;/p></description></item><item><title>「Hugo 博客搭建」3.博客加速和自定义域名</title><link>http://ludard.com/post/tech/create-blog-step-by-step-3/</link><pubDate>Mon, 26 Sep 2022 12:39:29 +0800</pubDate><guid>http://ludard.com/post/tech/create-blog-step-by-step-3/</guid><description>&lt;p>使用 &lt;a href="https://ludard.com/post/tech/create-blog-step-by-step-2/">Github Action 配置&lt;/a> 好就可以写博客并发布了，但是使用 &lt;code>Github Page&lt;/code> 有以下弊端：&lt;/p>
&lt;ul>
&lt;li>国内某些地区访问不稳定，速度也时好时坏，所以需要加速一下&lt;/li>
&lt;li>Github 屏蔽了百度蜘蛛，百度可能无法抓取里面的内容、从而导致网站迟迟不被收录，也无法被搜索&lt;/li>
&lt;/ul>
&lt;p>经过搜索对比后发现现在免费的、速度比较快的、方便使用的加速网站有2个：&lt;/p></description></item><item><title>「Hugo 博客搭建」2.Github Action 配置</title><link>http://ludard.com/post/tech/create-blog-step-by-step-2/</link><pubDate>Sun, 25 Sep 2022 17:08:28 +0800</pubDate><guid>http://ludard.com/post/tech/create-blog-step-by-step-2/</guid><description>&lt;p>&lt;a href="https://ludard.com/post/tech/create-blog-step-by-step-1">搭建本地运行环境&lt;/a> 完成之后，就可以将源码推送到远程仓库进行托管了，托管了之后就可以直接访问网站了，我选择的托管平台是 &lt;code>Github&lt;/code>。&lt;/p>
&lt;p>整个流程是这样的，先创建3个代码仓库：&lt;/p>
&lt;ol>
&lt;li>&lt;code>hugo-blog-code&lt;/code> 私有仓库，存放网站的源代码&lt;/li>
&lt;li>&lt;code>ludard.github.io&lt;/code> 公有仓库，源码仓库编译生成好的博客网站&lt;/li>
&lt;li>&lt;code>comments-for-blog&lt;/code> 博客的评论系统&lt;/li>
&lt;/ol>
&lt;p>这样将网站的源码和内容进行了公私分离，既保护了源码的私密性，又保证了博客内容的简洁性。&lt;/p></description></item><item><title>「Hugo 博客搭建」1.搭建本地运行环境</title><link>http://ludard.com/post/tech/create-blog-step-by-step-1/</link><pubDate>Tue, 13 Sep 2022 11:57:37 +0800</pubDate><guid>http://ludard.com/post/tech/create-blog-step-by-step-1/</guid><description>&lt;h2 id="背景">背景&lt;/h2>
&lt;p>好记性不如烂笔头，先前好多技术攻关后没有将过程记录下来，回想起来特别可惜。栽一棵树最好的时间是十年前，其次是现在。现在就把博客搭建起来，为以后的一些攻关技术和思考备忘一下，给回忆增加些内容。&lt;/p></description></item><item><title>🔍搜索</title><link>http://ludard.com/search/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ludard.com/search/</guid><description>This file exists solely to respond to /search URL with the related search layout template. No content shown here is rendered, all content is based in the template layouts/page/search.html Setting a very low sitemap priority will tell search engines this is not important content. This implementation uses Fusejs, jquery and mark.js</description></item></channel></rss>