Skip to content

Commit b671ae3

Browse files
committed
enabled configurations and added categories, tags
1 parent 705141b commit b671ae3

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

content/posts/2024-09-28-simple-fast-beautiful-how-to-build-blog-with-hugo-1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "簡單、快速、美觀:如何用 Hugo 打造專屬部落格 (一):撰寫你的第一篇文章"
33
date: 2024-09-28T00:27:05+08:00
44
draft: false
5+
tags: ["佈景主題", "快速上手", "部落格", "Hugo", "Go"]
6+
category: ["技術工具"]
57
cover:
68
image: "images/hugo_blog_image.jpg"
79
alt: "Hugo Blog"

content/posts/2024-09-30-simple-fast-beautiful-how-to-build-blog-with-hugo-2-deploy-to-github.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "簡單、快速、美觀:如何用 Hugo 打造專屬部落格 (二):部署到 Github Pages"
33
date: 2024-09-30T21:46:07+08:00
44
draft: false
5+
tags: ["Github", "部署", "部落格", "Hugo", "快速上手"]
6+
category: ["技術工具"]
57
cover:
68
image: "images/github_pages.png"
79
alt: "Github Pages"
@@ -10,12 +12,6 @@ cover:
1012

1113
既上一篇我們介紹如何在本地端安裝 Hugo、選擇主題並快速建立文章後,這次來談談如何「部署到 Github Pages」給所有人看到 🤩
1214

13-
本篇大綱如下:
14-
15-
- Github Pages 是什麼?
16-
- 初始化設定
17-
- 開始部署
18-
1915
# Github Pages 是什麼?
2016

2117
[Github Pages](https://pages.github.com/) 是 Github 提供的免費服務,它非常適合用於個人網站、部落格、文件或作品集。只要你將打包好的資料上傳,它便會自動幫你轉換為靜態網站,在網路上供所有人瀏覽。

hugo.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ languageCode: zh-TW
33
title: BC
44
theme: PaperMod
55

6+
enableRobotsTXT: true
7+
68
params:
9+
ShowReadingTime: true
10+
ShowShareButtons: true
11+
ShowPostNavLinks: true
12+
ShowWordCount: true
13+
showtoc: true
14+
tocopen: true
15+
716
homeInfoParams:
817
Title: "Hi there \U0001F44B"
918
Content: Welcome to my blog
@@ -22,3 +31,14 @@ params:
2231
favicon32x32: "images/favicon.svg"
2332
apple_touch_icon: "images/favicon.svg"
2433
safari_pinned_tab: "images/favicon.svg"
34+
35+
menu:
36+
main:
37+
- identifier: categories
38+
name: categories
39+
url: /categories/
40+
weight: 10
41+
- identifier: tags
42+
name: tags
43+
url: /tags/
44+
weight: 20

0 commit comments

Comments
 (0)