summaryrefslogtreecommitdiff
path: root/hugo.toml
blob: 34c5e11a12f18f96955c8ad28c530f670bb5e556 (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
baseURL = 'https://hyang.xyz'
languageCode = 'en-us'
title = "hyang's homepage"
theme = 'papermodx'
enableRobotsTXT = true
paginate = 5

[outputs]
home = [ "HTML", "RSS", "JSON" ]

[params]
  description = "Cool blogpostings"
  author = "hyang"
  email = "hyang@hyang.xyz"
  keywords = [ "Blog", "Portfolio" ]
  mainSections = ["posts"]
  TocOpen = true
  TocSide = "left"
  ShowReadingTime = true
  ShowWordCount = true
  ShowCodeCopyButtons = true
  ShowPostNavLinks = true
  ShowBreadCrumbs = true
  env = "production"

  [[menu.main]]
  name = "Posts"
  url = "/posts"
  weight = 1
  [[menu.main]]
  name = "Search"
  url = "/search"
  weight = 2

  [[params.socialIcons]]
  name = "email"
  url = "mailto:hyang@hyang.xyz"
  [[params.socialIcons]]
  name = "github-simple"
  url = "https://github.com/yanghuaxuan"
  [[params.socialIcons]]
  name = "pleroma"
  url = "https://post.hyang.xyz/hyang"
  [[params.socialIcons]]
  name = "linkedin-simple"
  url = "https://www.linkedin.com/in/huaxuan-yang/"


  [params.homeInfoParams]
  Title = "👋 Welcome to my homepage"
  Content = """
  I'm Huaxuan Yang. On *hyang.xyz*, I self-host a bunch of services (including this blog), using the finest grade gaming hardware. Here, I mostly talk about technology stuff, like Linux, programming, etc. Maybe some other content soon...
  """

  [params.fuseOpts]
    isCaseSensitive = false
    shouldSort = true
    location = 0
    distance = 1_000
    threshold = 0.4
    minMatchCharLength = 0
    keys = [ "title", "permalink", "summary", "content" ]

[languages]
    [languages.en.params.logo]
      logoText = "@hyang.xyz"
      logoHomeLink = "/"