| 1 |
hugo |
| 2 |
ls public/files |
| 3 |
checkfile public/files/f1.txt |
| 4 |
checkfile public/files/f2.txt |
| 5 |
checkfile public/f3.txt |
| 6 |
|
| 7 |
-- hugo.toml -- |
| 8 |
disableKinds = ["taxonomy", "term"] |
| 9 |
[module] |
| 10 |
[[module.mounts]] |
| 11 |
source = "myfiles/f1.txt" |
| 12 |
target = "static/files/f1.txt" |
| 13 |
[[module.mounts]] |
| 14 |
source = "f3.txt" |
| 15 |
target = "static/f3.txt" |
| 16 |
[[module.mounts]] |
| 17 |
source = "static" |
| 18 |
target = "static" |
| 19 |
-- static/files/f2.txt -- |
| 20 |
f2 |
| 21 |
-- myfiles/f1.txt -- |
| 22 |
f1 |
| 23 |
-- f3.txt -- |
| 24 |
f3 |
| 25 |
-- layouts/home.html -- |
| 26 |
Home. |
| 27 |
|