diff options
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 44 |
1 files changed, 12 insertions, 32 deletions
diff --git a/config.toml b/config.toml index 35894f3..ebf7dbd 100644 --- a/config.toml +++ b/config.toml @@ -13,6 +13,16 @@ disqusShortname = "" # disqus_shortname googleAnalytics = "" # UA-XXXXXXXX-X copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓ + +[mediaTypes] +[mediaTypes."application/atom"] + suffixes = ["xml"] + +[outputFormats.Atom] + mediaType = "application/atom" + baseName = "atom" + isPlainText = false + [author] # essential # 必需 name = "Julio Capote" @@ -145,35 +155,5 @@ copyright = "" # default: author.name ↓ # 默认为下面配 wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码 alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 - # [params.social] # 社交链接 - # a-email = "mailto:your@email.com" - # b-stack-overflow = "http://localhost:1313" - # c-twitter = "http://localhost:1313" - # d-facebook = "http://localhost:1313" - # e-linkedin = "http://localhost:1313" - # f-google = "http://localhost:1313" - # g-github = "http://localhost:1313" - # h-weibo = "http://localhost:1313" - # i-zhihu = "http://localhost:1313" - # j-douban = "http://localhost:1313" - # k-pocket = "http://localhost:1313" - # l-tumblr = "http://localhost:1313" - # m-instagram = "http://localhost:1313" - -# 将下面这段配置取消注释可以使 hugo 生成 .md 文件 -# Uncomment these options to make hugo output .md files. -#[mediaTypes] -# [mediaTypes."text/plain"] -# suffix = "md" -# -#[outputFormats.MarkDown] -# mediaType = "text/plain" -# isPlainText = true -# isHTML = false -# -#[outputs] -# home = ["HTML", "RSS"] -# page = ["HTML", "MarkDown"] -# section = ["HTML", "RSS"] -# taxonomy = ["HTML", "RSS"] -# taxonomyTerm = ["HTML"] +[outputs] + home = [ "HTML", "Atom" ] |