diff --git a/doc/getStarted.md b/doc/getStarted.md index de014ea..a915bf6 100644 --- a/doc/getStarted.md +++ b/doc/getStarted.md @@ -112,6 +112,8 @@ menu: identifier: Erwitt title: Erwitt unifiedAlt: '© Elliott Erwitt' +_build: + publishResources: false --- ``` @@ -129,6 +131,8 @@ unifiedAlt: '© Elliott Erwitt' - `unifiedAlt` is **optional**, If you left it empty, the alt attribute of the image will default to its file name; if it is set, the alt attributes of all images will be unified to the value you have set; +- `publishResources` is **optional but recommended**, setting it to false will hide unprocessed images in the `public` directory. By default, Hugo’s value for this option is true, which can potentially result in source image leakage. + - If this is a **showcase** page, simply place the images in the same directory as index.md. - If this is an **information** page, you can continue writing the information you want to display in index.md. diff --git a/exampleSite/content/Erwitt/index.md b/exampleSite/content/Erwitt/index.md index d91991d..54bf6f6 100644 --- a/exampleSite/content/Erwitt/index.md +++ b/exampleSite/content/Erwitt/index.md @@ -8,4 +8,6 @@ menu: identifier: Erwitt title: Erwitt unifiedAlt: '© Elliott Erwitt' +_build: + publishResources: false --- diff --git a/exampleSite/content/Gruyaert/index.md b/exampleSite/content/Gruyaert/index.md index 3a1695e..0361327 100644 --- a/exampleSite/content/Gruyaert/index.md +++ b/exampleSite/content/Gruyaert/index.md @@ -8,4 +8,6 @@ menu: identifier: Gruyaert title: Gruyaert unifiedAlt: '© Harry Gruyaert' +_build: + publishResources: false --- diff --git a/exampleSite/content/Info/index.md b/exampleSite/content/Info/index.md index c368e25..085d55f 100644 --- a/exampleSite/content/Info/index.md +++ b/exampleSite/content/Info/index.md @@ -8,6 +8,8 @@ menu: identifier: Info title: Info unifiedAlt: '' +_build: + publishResources: false --- Bridget is a _minimal_ Hugo theme designed for photographers/visual artists. diff --git a/exampleSite/content/Webb/index.md b/exampleSite/content/Webb/index.md index 15d4bb1..7dc97b9 100644 --- a/exampleSite/content/Webb/index.md +++ b/exampleSite/content/Webb/index.md @@ -8,4 +8,6 @@ menu: identifier: Webb title: Webb unifiedAlt: '© Alex Webb' +_build: + publishResources: false ---