70 lines
2.6 KiB
TOML
70 lines
2.6 KiB
TOML
|
baseURL = "https://example.com/"
|
||
|
# include content marked as draft
|
||
|
buildDrafts = false
|
||
|
# include content with publishdate in the future
|
||
|
buildFuture = false
|
||
|
# include content already expired
|
||
|
buildExpired = false
|
||
|
# enable this to make all relative URLs relative to content root. Note that this does not affect absolute URLs.
|
||
|
relativeURLs = true
|
||
|
disableRSS = true
|
||
|
enableRobotsTXT = true
|
||
|
editor = "nano"
|
||
|
languageCode = "en"
|
||
|
language = "en"
|
||
|
theme = "vncnt-hugo"
|
||
|
title = "John Doe · Landing Page"
|
||
|
|
||
|
_merge = "none"
|
||
|
|
||
|
[permalinks]
|
||
|
fixed = ":title/"
|
||
|
posts = "posts/:slug/"
|
||
|
|
||
|
[params]
|
||
|
author = "John Doe"
|
||
|
# email does still work but is deprecated.
|
||
|
# use [params.contact.email] instead.
|
||
|
#email = "john.doe@example.com"
|
||
|
description = "Landing Page"
|
||
|
bio = "First Row. \nSecond Row."
|
||
|
avatar = "img/avatar.jpg"
|
||
|
favicon = "img/favicon.ico"
|
||
|
error404 = "There is no such page."
|
||
|
|
||
|
[params.contact]
|
||
|
# the default fontawesome style in simple key-value pairs is "fab", i.e. brand icons
|
||
|
github = "https://github.com/jdoe"
|
||
|
instagram = "https://instagram.com/jdoe"
|
||
|
twitter = "https://twitter.com/jdoe"
|
||
|
|
||
|
# You may use (inline) tables for more versatility
|
||
|
# This allows sorting and even more icons.
|
||
|
# Just make sure not to mix key-value pairs, inline tables and tables,
|
||
|
# although keeping keeping this order is ok.
|
||
|
# See https://toml.io/en/v1.0.0 for details
|
||
|
0 = { name = "ello", icon = "ello", style = "fab", link = "" } # empty links are possible
|
||
|
[params.contact.1] # key names are sorted lexicographically
|
||
|
name = "hiking club" # may be omitted. defaults to key name
|
||
|
icon = "hiking" # may be omitted. defaults to key name
|
||
|
style = "fas" # may be omitted. default = "fas"
|
||
|
link = "https://local-hiking.club"
|
||
|
[params.contact.email]
|
||
|
name = "email" # may be omitted. defaults to key name
|
||
|
icon = "envelope" # may be omitted. defaults to key name
|
||
|
style = "fas" # may be omitted. default = "fas"
|
||
|
link = "mailto:john.doe@example.com"
|
||
|
[params.contact.mastodon]
|
||
|
style = "fab" # may be omitted. default = "fas"
|
||
|
link = "https://example.social/@jdoe"
|
||
|
# By default rel="me" is not set
|
||
|
# For some services, it makes sense to set it though.
|
||
|
# This is the case for Mastodon (and Github) if you link back from these services.
|
||
|
# See
|
||
|
# https://microformats.org/wiki/rel-me and
|
||
|
# https://docs.joinmastodon.org/user/profile/#verification
|
||
|
# for more information.
|
||
|
# This defaults to false to cover the case of not having control over the linked site.
|
||
|
rel-me = true
|
||
|
|