mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 13:54:48 -04:00
Update static-files.md
Explain how to access static files
This commit is contained in:
parent
6d0c155c82
commit
f5a8c9d4fa
@ -14,7 +14,7 @@ toc: true
|
|||||||
---
|
---
|
||||||
|
|
||||||
By default, the `static/` directory in the site project is used for
|
By default, the `static/` directory in the site project is used for
|
||||||
all **static files** (e.g. stylesheets, JavaScript, images).
|
all **static files** (e.g. stylesheets, JavaScript, images). The static files are served on the site root path (eg. if you have the file `static/image.png` you can access it using `http://{server-url}/image.png`, to include it in a document you can use ` )`.
|
||||||
|
|
||||||
Hugo can be configured to look into a different directory, or even
|
Hugo can be configured to look into a different directory, or even
|
||||||
**multiple directories** for such static files by configuring the
|
**multiple directories** for such static files by configuring the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user