diff options
| author | Matthijs van der Wild <matthijs@vanderwild.com> | 2026-03-13 14:16:39 +0000 |
|---|---|---|
| committer | Matthijs van der Wild <matthijs@vanderwild.com> | 2026-03-13 14:16:39 +0000 |
| commit | 04f201dc7d286c31bf6fb3ec94b52e06c28a5c18 (patch) | |
| tree | 4dd0bc11c3d7d033b62927c1a87948a7d94de283 /src/_social | |
| parent | d2e2ab4347202d0ef0ecaaa6a634f24ee21815e5 (diff) | |
Publish input directory recursively
I want to have some control over how the input directory is processed.
publish() takes the input directory and scans its immediate contents.
Files are copied to the output directory, and publish is applied to
the subdirectories again.
I added the convention that, if a subdirectory starts with an
underscore, the contents are to be copied to the .well-known
directory instead. The contents are assumed to be files and the script
will fail if it contains a subdirectory.
I have added a limit to how deep the script will recurse into the input
directory. This is currently not exposed to the user.
Diffstat (limited to 'src/_social')
0 files changed, 0 insertions, 0 deletions