hugo/docs
Dietrich Epp d5542ed286 deploy: Add stripIndexHtml target option
This new configuration parameter causes paths matching
"<dir>/index.html" to be stored as "<dir>/" remotely. This simplifies
the cloud configuration needed for some use cases, such as CloudFront
distributions with S3 bucket origins. Before this change, users must
configure their S3 buckets as public websites (which is incompatible
with certain authentication / authorization schemes), or users must add
a CloudFormation function to add index.html to the end of incoming
requests. After this change, users can simply use an ordinary CloudFront
distribution (no additional code) with an ordinary S3 bucket origin (and
not an S3 website).

This adds tests to ensure that functionality like matchers is unaffected
by this change. I have also tested that the functionality works as
expected when deploying to a real S3 / CloudFront website.

Closes #12607
2024-06-20 19:37:22 +02:00
..
.github Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
.vscode Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
_vendor Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
archetypes Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
assets/images Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
config Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
content/en deploy: Add stripIndexHtml target option 2024-06-20 19:37:22 +02:00
data markup/goldmark: Add the Hugo Goldmark Extras "delete" extension 2024-06-18 18:56:20 +02:00
layouts Add images.Dither filter 2024-02-11 22:51:11 +02:00
src Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
static Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
.cspell.json Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
.editorconfig Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
.gitignore Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
.markdownlint.yaml Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
.markdownlintignore Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
.textlintignore Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
go.mod Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
go.sum Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
hugo.toml Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
hugo.work Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
hugo_stats.json Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
hugoreleaser.toml Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
LICENSE.md Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
netlify.toml Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
pull-theme.sh Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs' 2024-01-27 10:48:57 +01:00
README.md Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00

Hugo

A fast and flexible static site generator built with love by bep, spf13, and friends in Go.


Netlify Status PRs Welcome

This is the repository for the Hugo documentation site.

Please see the contributing section for guidelines, examples, and process.