summaryrefslogtreecommitdiff
path: root/hugo.yaml
blob: 95c845744603b740cc10b309a8933586270e6d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
baseURL: "https://www.rtk0c.com"
languageCode: "en-us"
title: "rtk0c's hut"
theme: "PaperMod"

outputs:
  home:
    # Gotta read them somehow
    - HTML
    # Go get a RSS client (and some quality blogs), you will not regret it
    # Hugo defaults to /index.xml, but if want to change: https://discourse.gohugo.io/t/how-can-i-change-the-rss-url/118/23
    - RSS
    # For fastsearch.json
    - JSON

taxonomies:
  category: categories
  tag: tags

languages:
  en:
    languageName: "English"
    weight: 1
    capitalizeListTitles: false
    menu:
      main:
        - name: RSS
          url: /index.xml
          weight: 10
        - name: Archive
          url: /archives
          weight: 5
        - name: Search
          url: /search
          weight: 10
    params:
      homeInfoParams:
        Title: "rtk0c's hut"
        Content: >
          Technical findings, life stories, and projects.

  zh:
    languageName: "中文 zh_CN"
    title: "rtk0c的小窝"
    menu:
      main:
        - name: RSS订阅
          url: /index.xml
          weight: 10
        - name: 归档
          url: /archives
          weight: 5
        - name: 搜索
          url: /search
          weight: 10
    params:
      homeInfoParams:
        Title: "rtk0c的小窝"
        Content: >
          啦啦啦啦啦啦啦!
          若是读得懂英文,也敬请到英文站点参观一下喽!
          关于本站点挂载Cloudflare Pages上进而大陆访问速度有时玄学的问题,主要是因为本人比较懒(反正也没什么人读了啦

params:
  env: development
  description: "rtk0c's personal writing output"
  keywords: [Blog, Portfolio]
  author: rtk0c

  socialIcons:
  - name: "github"
    url: "https://github.com/rtk0c"
  - name: "linkedin"
    url: "https://www.linkedin.com/in/tianyi-guan-rtk0c"
  - name: "reddit"
    url: "https://reddit.com/u/rtk0c"
  - name: "twitter"
    url: "https://twitter.com/rtk0c1"
  - name: "bluesky"
    url: "https://bsky.app/profile/rtk0c.bsky.social"
  - name: "mastodon"
    url: "https://mastodon.social/@rtk0c"

  defaultTheme: auto
  disableThemeToggle: false
  displayFullLangName: true
  ShowShareButtons: false
  ShowReadingTime: false
  ShowPostNavLinks: true
  ShowBreadCrumbs: true
  ShowCodeCopyButtons: true
  ShowRssButtonInSectionTermList: true
  ShowAllPagesInArchive: true
  ShowPageNums: true
  ShowToc: true

markup:
  goldmark:
    renderer:
      unsafe: true