1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-25 19:11:56 +00:00
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 
2024-06-20 19:37:22 +02:00
..
.github Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
.vscode
_vendor Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
archetypes
assets/images
config
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
static
.cspell.json Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4' 2024-02-07 20:46:41 +01:00
.editorconfig
.gitignore
.markdownlint.yaml
.markdownlintignore
.textlintignore
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
hugo.work
hugo_stats.json
hugoreleaser.toml
LICENSE.md
netlify.toml
pull-theme.sh
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.