Skip to content

Commit 57b48be

Browse files
committed
refactor: rename organizers data file
1 parent 348814d commit 57b48be

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ arquivos estáticos, incluindo GitHub Pages.
1818
Os arquivos abaixo são copiados para o site sem transformação. Não é preciso
1919
editar HTML, CSS ou JavaScript para alterar as listas:
2020

21-
- `data/members.jsonc` — pessoas voluntárias, atuais e ex-voluntárias. Aceita
21+
- `data/organizers.jsonc` — pessoas voluntárias, atuais e ex-voluntárias. Aceita
2222
comentários com `//`;
2323
- `data/posts.json` — posts do blog (opcional);
2424
- `data/projects.json` — projetos da comunidade (opcional);

assets/js/site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
}
345345

346346
async function load() {
347-
const files = ['site.json', 'members.jsonc', 'events.json', 'projects.json', 'posts.json'];
347+
const files = ['site.json', 'organizers.jsonc', 'events.json', 'projects.json', 'posts.json'];
348348
try {
349349
const results = await Promise.all(files.map(async (file) => {
350350
const response = await fetch(`data/${file}`);

0 commit comments

Comments
 (0)