baseURL = "/"
# baseURL = "https://github.com/johnfitzpatrick/falco-aws-workshop"
languageCode = "en-US"
defaultContentLanguage = "en"

title = "Runtime Security with Falco on AWS"
theme = "hugo-theme-learn"
metaDataFormat = "yaml"
defaultContentLanguageInSubdir= "true"
uglyurls = "true"
enableEmoji = true
# publishDir = "docs"


[params]
  # Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
  # Useful to give opportunity to people to create merge request for your doc.
  # See the config.toml file from this documentation site to have an example.
  editURL = "https://github.com/aws-samples/runtime-security-with-falco-on-aws/edit/main/content/"
  # Author of the site, will be used in meta information
  author = "Sysdig Training and CNATIVE Teams"
  # Description of the site, will be used in meta information
  description = "Runtime Security with Falco on AWS"
  # Shows a checkmark for visited pages on the menu
  showVisitedLinks = true
  # Disable search function. It will hide search bar
  disableSearch = false
  # Javascript and CSS cache are automatically busted when new version of site is generated.
  # Set this to true to disable this behavior (some proxies don't handle well this optimization)
  disableAssetsBusting = false
  # Set this to true to disable copy-to-clipboard button for inline code.
  disableInlineCopyToClipBoard = false
  # A title for shortcuts in menu is set by default. Set this to true to disable it.
  disableShortcutsTitle = false
  # When using mulitlingual website, disable the switch language button.
  disableLanguageSwitchingButton = true
  # Hide breadcrumbs in the header and only show the current page title
  disableBreadcrumb = false
  # Hide Next and Previous page buttons normally displayed full height beside content
  disableNextPrev = false
  # Order sections in menu by "weight" or "title". Default to "weight"
  ordersectionsby = "weight"
  # Change default color scheme with a variant one. Can be "red", "blue", "green".
  themeVariant = "mine"


[outputs]
home = [ "HTML", "RSS", "JSON"]

[[menu.shortcuts]]
name = "<i class='fas fa-graduation-cap'></i> Modernization Workshops"
url = "https://awsworkshop.io"
weight = 10

[[menu.shortcuts]]
name = "<i class='fas fa-tools'></i> AWS Builders Library"
url = "https://aws.amazon.com/builders-library/"
weight = 11

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Modernization with AWS"
url = "https://aws.amazon.com/blogs/modernizing-with-aws/"
weight = 20

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Get started in Falco.org"
url = "https://falco.org/"
weight = 30

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Check out the Falco project in GitHub"
url = "https://github.com/falcosecurity/falco/"
weight = 40

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Get involved in the Falco community"
url = "https://falco.org/community/"
weight = 40

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Meet the maintainers on the Falco Slack"
url = "https://kubernetes.slack.com/?redir=%2Farchives%2FCMWH3EH32/"
weight = 40

[[menu.shortcuts]]
name = "<i class='far fa-lightbulb'></i> Follow @falco_org on Twitter"
url = "https://twitter.com/falco_org/"
weight = 40

[markup]
  defaultMarkdownHandler = "blackfriday"
  [markup.blackFriday]
    hrefTargetBlank = true



[deployment]
# By default, files are uploaded in an arbitrary order.
# Files that match the regular expressions in the "Order" list
# will be uploaded first, in the listed order.
order = [".jpg$", ".gif$"]


[[deployment.targets]]
# An arbitrary name for this target.
name = "johnf-s3"
# S3; see https://gocloud.dev/howto/blob/#s3
# For S3-compatible endpoints, see https://gocloud.dev/howto/blob/#s3-compatible
URL = "s3://sysdigworkshop?region=us-west-2"


# You can use a "prefix=" query parameter to target a subfolder of the bucket:
# URL = "gs://<Bucket Name>?prefix=a/subfolder/"

# If you are using a CloudFront CDN, deploy will invalidate the cache as needed.
# cloudFrontDistributionID = <ID>

# Optionally, you can include or exclude specific files.
# See https://godoc.org/github.com/gobwas/glob#Glob for the glob pattern syntax.
# If non-empty, the pattern is matched against the local path.
# All paths are matched against in their filepath.ToSlash form.
# If exclude is non-empty, and a local or remote file's path matches it, that file is not synced.
# If include is non-empty, and a local or remote file's path does not match it, that file is not synced.
# As a result, local files that don't pass the include/exclude filters are not uploaded to remote,
# and remote files that don't pass the include/exclude filters are not deleted.
# include = "**.html" # would only include files with ".html" suffix
# exclude = "**.{jpg, png}" # would exclude files with ".jpg" or ".png" suffix


# [[deployment.matchers]] configure behavior for files that match the Pattern.
# Samples:

[[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