猫猫和狗狗的小窝

山河远阔,人间烟火,美食与技术的温暖光芒

Hugo+Github Pages+Github Action Blog Solution I Building a Personal Blog With Hugo

I spent some time rebuilding “猫狗窝” (a website for cats and dogs) using Hugo, hosted it on Github Pages, and implemented CI/CD using Github Actions. It has been a hassle-free process, allowing me to focus on writing content and easily publishing it. This article is a continuous work-in-progress, allowing me to write and publish

建站第十五篇 Google Adsense在Hugo中的配置

博客运行一段时间之后,有了一点点流量,随即向Google申请了Adsense,流量虽少也不想浪费。 如何申请就不多讲了,去Google Adse

建站第十四篇 Hugo博客添加字数统计和阅读时间功能

现在我们要给博客添加字数统计和阅读时间功能。这才像个技术分享博客的样纸。 非常幸运,Hugo支持这个需求。 修改模版文件 layouts/_default/single.html 原本 ... {{ if .Site.Params.page_view_conter }} {{ partial "page_view_counter.html" .

建站第十三篇 Hugo博客实现轻量级搜索功能

Hugo是由Go语言实现的静态网站生成器。简单、易用、高效、易扩展、快速部署。静态站点无法自带动态搜索功能,但作为一个博客,随着文章渐渐增多

建站第十二篇 Hugo博客使用giscus作为评论系统

在前面的系列文章中,我们成功的利用Github Pages搭建了基于hugo生成的博客站,并且可以通过Github Action实现CI/CD。