From 36c5a0b430310591fa84c50d785e5ff15d315bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 20 Nov 2017 14:10:36 +0100 Subject: [PATCH] Add a note about the 2 in staticDir2 /cc @kaushalmodi --- content/content-management/static-files.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/content-management/static-files.md b/content/content-management/static-files.md index c8ad75de3..a7cafe366 100644 --- a/content/content-management/static-files.md +++ b/content/content-management/static-files.md @@ -42,4 +42,7 @@ In the above, with no theme used: * The English site will get its static files as a union of "static1", "static2" and "static_en". On file duplicates, the right-most version will win. * The Norwegian site will get its static files as a union of "staticDir_override" and "static_no". +**Note:** He `2` `static2` (can be a number between 0 and 10) is added to tell Hugo that you want to **add** this directory to the global set of static directories. Using `staticDir` on the language level would replace the global value. + + **Note:** The example above is a [multihost setup](/content-management/multilingual/#configure-multilingual-multihost). In a regular setup, all the static directories will be available to all sites.