In my article content/chapter-1/
there are three files, e.g. file.png
, file.txt
and file.mp3
.
In my index.md
there is only a link to file.png
. That’s why I want only file.png
to be deployed. How can I achieve this?
In my article content/chapter-1/
there are three files, e.g. file.png
, file.txt
and file.mp3
.
In my index.md
there is only a link to file.png
. That’s why I want only file.png
to be deployed. How can I achieve this?
I just found the solution in the docs:
[deployment]
[[deployment.targets]]
include = "**.html" # would only include files with ".html" suffix
exclude = "**.{jpg, png}" # would exclude files with ".jpg" or ".png" suffix
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.