From 716536b5515a0eaef692e162ec05f1b554409514 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Sun, 12 Jul 2020 21:40:05 +0530 Subject: [PATCH] Clarify relevance of data file basename [skip ci] --- docs/_docs/datafiles.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_docs/datafiles.md b/docs/_docs/datafiles.md index 7050512c..c0fb6bcf 100644 --- a/docs/_docs/datafiles.md +++ b/docs/_docs/datafiles.md @@ -49,8 +49,8 @@ Parker Moore,parkr Liu Fengyun,liufengyun ``` -This data can be accessed via `site.data.members` (notice that the filename -determines the variable name). +This data can be accessed via `site.data.members` (notice that the file's *basename* determines the variable name and +therefore one should avoid having data files with the same basename but different extensions, in the same directory). You can now render the list of members in a template: