Skip to content
View Potterluo's full-sized avatar

Block or report Potterluo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Potterluo/README.md

Keriko 播客

基于 Hugo 和 Qubt 主题的个人播客系统

🎙️ 关于

这是一个使用 Hugo 静态站点生成器搭建的播客网站,采用 Qubt 主题,专注于技术分享和个人成长内容的发布。

✨ 特性

  • 🎨 现代设计:采用 Qubt 主题,移动优先的响应式设计
  • 🌓 深色模式:自动适应系统偏好,支持手动切换
  • 📱 移动优化:完美的移动端体验
  • 极速加载:Hugo 静态生成,毫秒级加载
  • 🎧 播客支持:内置 RSS 订阅,支持播客客户端
  • 🏷️ 标签分类:灵活的内容组织和检索
  • 🔍 SEO 优化:良好的搜索引擎优化

📋 系统要求

  • Hugo Extended: >= 0.122.0
  • Go: >= 1.23.3

🚀 快速开始

1. 安装 Hugo

Windows (Chocolatey):

choco install hugo-extended

macOS (Homebrew):

brew install hugo

Linux:

snap install hugo

验证安装:

hugo version

2. 克隆项目

git clone https://gitee.com/keriko/keriko.git
cd keriko

3. 初始化主题模块

hugo mod get github.com/chrede88/qubt@latest

4. 启动开发服务器

hugo server -D

访问 http://localhost:1313 查看网站

📝 创建新节目

使用 Hugo 命令创建新的播客节目:

hugo new podcast/episode-003.md

编辑创建的 Markdown 文件,填写节目信息:

---
title: "节目标题"
date: 2024-03-08
episode: 3
subtitle: "副标题"
description: "节目描述"
duration: "00:30:00"
audio_file: "/audio/episode-003.mp3"
audio_size: 15000000
categories:
  - 技术分享
tags:
  - 编程
  - Hugo
---

📁 项目结构

keriko/
├── assets/              # 资源文件
│   └── css/            # 自定义样式
├── config/             # 配置文件
│   └── _default/       # 默认配置
├── content/            # 内容文件
│   ├── about.md        # 关于页面
│   └── podcast/        # 播客节目
├── layouts/            # 自定义布局
│   └── podcast/        # 播客专用布局
├── static/             # 静态资源
│   ├── audio/          # 音频文件
│   └── images/         # 图片资源
├── archetypes/         # 内容模板
├── go.mod              # Go 模块配置
└── hugo.yaml           # Hugo 配置

🎨 自定义配置

修改站点信息

编辑 config/_default/params.yaml

# 网站信息
title: 你的播客名称
description: 你的播客描述
author: 你的名字

# 播客配置
podcast:
  title: 播客标题
  description: 播客描述
  author: 作者
  email: your@email.com

修改导航菜单

编辑 config/_default/menus.yaml

main:
  - name: 首页
    url: /
    weight: 1
  - name: 播客节目
    url: /podcast/
    weight: 2

自定义样式

编辑 assets/css/custom.css 添加你的自定义样式。

🌐 部署到 Gitee Pages

1. 构建网站

hugo

2. 推送到 Gitee

git add .
git commit -m "更新内容"
git push origin master

3. 在 Gitee 启用 Pages

  1. 进入仓库设置
  2. 找到 "Gitee Pages" 服务
  3. 选择 public 目录作为发布目录
  4. 点击启动

📡 RSS 订阅

播客提供以下 RSS 订阅源:

  • 完整订阅:/podcast/index.xml
  • 标准 RSS:/index.xml

🛠️ 常用命令

# 创建新内容
hugo new podcast/episode-name.md

# 启动开发服务器(包含草稿)
hugo server -D

# 构建生产版本
hugo

# 清理构建文件
hugo --cleanDestinationDir

📚 相关资源

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📄 许可证

MIT License

📮 联系方式


⭐ 如果这个项目对你有帮助,请给个 Star!

Pinned Loading

  1. Dream-Interviewer Dream-Interviewer Public

    在使用AI工具进行深入分析面试岗位需求与应聘者简历的基础上,依据既定标准向应聘 者提出针对性问题。在应聘者完成问题解答后,将对简历内容及面试表现进行全面评估,并提供具体的改进建 议,以助其提升职业竞争力。

    Java 16 2

  2. Campus-Smart-Restaurant-System Campus-Smart-Restaurant-System Public

    使用springboot2,vue2以及Element ui的web系统,加入了微信小程序的联动,以及通过MQTT连接单片机实现了采集与控制。

    Vue 2

  3. CodeRace CodeRace Public

    在线判题系统是一个面向编程爱好者和专业人士的代码测试平台,支持多语言编程环境,提供即时反馈和代码评估服务。旨在促进编程教育和技能提升,同时搭建交流与学习的平台。

    Java 2

  4. Dining-Philosophers-Problem Dining-Philosophers-Problem Public

    哲学家就餐问题课程设计

    C++ 1

  5. EchoRPC EchoRPC Public

    基于 Java + Etcd + Vert.x 的高性能RPC框架

    Java 1

  6. Potterluo Potterluo Public

    HTML 1