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"] # EXAMPLE: multilingual English-German site with content/en & content/de directories; English as default defaultContentLanguage = "en" defaultContentLanguageInSubdir = true disableDefaultLanguageRedirect = true [languages] [languages.de] contentDir = "content/de" languageCode = "de-DE" languageName = "Deutsch" weight = 2 [[languages.de.menus.main]] identifier = "home" name = "Startseite" pageRef = "/" weight = 10 [[languages.de.menus.main]] identifier = "about" name = "Über mich" pageRef = "/about/" weight = 20 [[languages.de.menus.main]] identifier = "search" name = "Suche" pageRef = "/search/" weight = 30 [languages.en] contentDir = "content/en" languageCode = "en-US" languageName = "English" weight = 1 [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 = "search" name = "Search" pageRef = "/search" 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"