data "exams" gives every file directly in data/exams/, by name, so a page can list them all.
A file and a folder with the same name are refused, and folders starting with a dot are skipped.
nav and a section's from: take a path the same way.
Documented in docs/themes.md. Tests cover both lookups and the clashes.
Data files can now sit in folders under `data/`:
- `data "exams/one"` reads `data/exams/one.yaml`.
- `data "exams"` gives every file directly in `data/exams/`, by name, so a page can list them all.
- A file and a folder with the same name are refused, and folders starting with a dot are skipped.
- `nav` and a section's `from:` take a path the same way.
Documented in docs/themes.md. Tests cover both lookups and the clashes.
data "exams/one" reads data/exams/one.yaml, and data "exams" gives every
file directly in data/exams/ by name. A file and a folder with the same name
are refused, and folders starting with a dot are skipped. nav and a
section's from: take a path the same way.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Data files can now sit in folders under
data/:data "exams/one"readsdata/exams/one.yaml.data "exams"gives every file directly indata/exams/, by name, so a page can list them all.navand a section'sfrom:take a path the same way.Documented in docs/themes.md. Tests cover both lookups and the clashes.