summaryrefslogtreecommitdiff
path: root/hugo.toml
blob: 7f7cea2c4c17dc766a1a3c509bb91f86f4005846 (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
baseURL = "https://example.org/"
languageCode = "en-US"
title = "Your Website Name"

enableRobotsTXT = true # Copy this line to your project's hugo.toml

[frontmatter]
    # {{ .Date }} will look for publishDate or aliases first, fallback to date
    date = ["publishdate", "pubdate", "published", "date"]

[menus]
    [[menus.main]]
        identifier = "home"
        name = "Home"
        pageRef = "/"
        weight = 10

    [[menus.main]]
        identifier = "posts"
        name = "Posts"
        pageRef = "/posts"
        weight = 20

    [[menus.main]]
        identifier = "about"
        name = "About"
        pageRef = "/about"
        weight = 30

    [[menus.main]]
        identifier = "tags"
        name = "Tags"
        pageRef = "/tags"
        weight = 40

[outputs] # Copy outputs configuration to your project's hugo.toml
    home = ["html", "json", "rss"]
    section = ["html", "rss"]
    taxonomy = ["html"]
    term = ["html"]

[params]
    # In your project's hugo.toml, adjust logo to your file's name or set empty string to display site.Title instead
    logo = "/logo.svg"

    [params.author]
        name = "Your Name"
        email = "your@email.com"

    # Replace with your actual social media profiles in your hugo.toml
    [[params.socials]]
        name = "Twitter"
        url = "https://twitter.com/yourhandle"
        icon = "/socials/twitter.svg" 

    [[params.socials]]
        name = "GitHub"
        url = "https://github.com/yourhandle"
        icon = "/socials/github.svg"

    [[params.socials]]
        name = "LinkedIn"
        url = "https://linkedin.com/in/yourhandle"
        icon = "/socials/linkedin.svg"