64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
|
baseurl = "https://www.softinio.com/"
|
|||
|
title = "Salar Rahmanian"
|
|||
|
author = "Salar Rahmanian"
|
|||
|
enableRobotsTXT = true
|
|||
|
enableEmoji = true
|
|||
|
paginate = 10
|
|||
|
|
|||
|
# title = "Clarity" # Edit directly from config/_default/languages.toml # alternatively, uncomment this and remove `title` entry from the aforemention file.
|
|||
|
# copyright = "Copyright © 2008–2018, Steve Francia and the Hugo Authors; all rights reserved."
|
|||
|
# canonifyurls = true
|
|||
|
theme = ["github.com/softinio/hugo-clarity"]
|
|||
|
# disqusShortname = ""
|
|||
|
|
|||
|
DefaultContentLanguage = "en"
|
|||
|
# [languages]
|
|||
|
# config/_default/languages.toml
|
|||
|
|
|||
|
# [menus]
|
|||
|
# config/_default/menus/menu.xx.toml
|
|||
|
|
|||
|
# [outputs]
|
|||
|
# home = ["HTML", "RSS", "JSON"]
|
|||
|
# page = ["html"]
|
|||
|
|
|||
|
[outputs]
|
|||
|
home = ["html", "jsonfeed","rss"]
|
|||
|
page = ["html"]
|
|||
|
|
|||
|
[outputFormats]
|
|||
|
[outputFormats.jsonfeed]
|
|||
|
mediaType = "application/json"
|
|||
|
baseName = "feed"
|
|||
|
isPlainText = true
|
|||
|
|
|||
|
[sitemap]
|
|||
|
changefreq = "weekly"
|
|||
|
priority = 0.5
|
|||
|
filename = "sitemap.xml"
|
|||
|
|
|||
|
[deployment]
|
|||
|
order = [".png$", ".jpg$", ".gif$", ".svg$"]
|
|||
|
|
|||
|
[[deployment.targets]]
|
|||
|
name = "softinio-deploy"
|
|||
|
URL = "s3://www.softinio.com?region=us-east-1"
|
|||
|
cloudFrontDistributionID = "E1CMSLHG2WR51C"
|
|||
|
|
|||
|
[[deployment.matchers]]
|
|||
|
# Cache static assets for 1 year.
|
|||
|
pattern = "^.+\\.(js|css|svg|ttf)$"
|
|||
|
cacheControl = "max-age=31536000, no-transform, public"
|
|||
|
gzip = true
|
|||
|
|
|||
|
[[deployment.matchers]]
|
|||
|
pattern = "^.+\\.(png|jpg)$"
|
|||
|
cacheControl = "max-age=31536000, no-transform, public"
|
|||
|
gzip = false
|
|||
|
|
|||
|
[[deployment.matchers]]
|
|||
|
pattern = "^.+\\.(html|xml|json)$"
|
|||
|
gzip = true
|
|||
|
|
|||
|
|