Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
attajak committed Feb 3, 2025
1 parent f4b7cab commit 6740921
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 11 deletions.
14 changes: 9 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ repos:
rev: v5.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
entry: trailing-whitespace-fixer
args: ['--markdown-linebreak-ext=md']
- id: end-of-file-fixer
- id: check-yaml
args: ['--allow-multiple-documents']
- id: check-toml
- id: check-json
- id: check-added-large-files
args: ['--enforce-all']
- id: mixed-line-ending
args: ['--fix=auto']
- id: check-json
- id: check-toml
- id: double-quote-string-fixer
- id: pretty-format-json
args: ['--autofix', '--no-sort-keys']
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
8 changes: 4 additions & 4 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
# -------------------------------------------------------------------------------------

title = "Hugo FixIt Blog"
baseURL = "/" # "https://hugo-fixit.github.io/hugo-fixit-starter/"
baseURL = "https://hugo-fixit.github.io/hugo-fixit-starter/"
# theme = "FixIt"
defaultContentLanguage = "en"
languageCode = "en"
hasCJKLanguage = true
enableRobotsTXT = true
enableRobotsTXT = false
enableEmoji = true
enableGitInfo = true
relativeURLs = false
buildDrafts = false
relativeURLs = true
buildDrafts = true
summaryLength = 150
# ignore some build errors
ignoreLogs = [
Expand Down
1 change: 1 addition & 0 deletions config/development/hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
baseURL = "http://localhost:1313/"
24 changes: 24 additions & 0 deletions config/production/hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -------------------------------------------------------------------------------------
# Hugo Configuration
# See: https://gohugo.io/getting-started/configuration/
# -------------------------------------------------------------------------------------

title = "Attajak Janrak"
baseURL = "/"
# theme = "FixIt"
defaultContentLanguage = "en"
languageCode = "en"
hasCJKLanguage = true
enableRobotsTXT = true
enableEmoji = true
enableGitInfo = true
relativeURLs = false
buildDrafts = false
summaryLength = 150
# ignore some build errors
ignoreLogs = [
"error-get-remote-image",
"error-get-remote-json",
"error-remote-getjson",
"error-missing-instagram-accesstoken"
]
1 change: 1 addition & 0 deletions content/about/images/attajak.jxl
4 changes: 2 additions & 2 deletions content/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords:
draft: false
---

# ชื่อ
## ชื่อ
คิง อัฏฐจักร จันทร์รักษ์

## เกิด
Expand All @@ -24,7 +24,7 @@ draft: false
- ฟังเพลง
- เล่นเกม

# คำคม
## คำคม
> แค่อยากทำหน้าที่ให้ดีที่สุด ไม่ได้อยากเป็นวีรบุรุษของใคร
> งานมีขี้บ่อย งานน้อยไม่ค่อยขี้ งานไม่มีไม่ขี้เลย
Expand Down

0 comments on commit 6740921

Please sign in to comment.