Clarify relevance of data file basename [skip ci]

This commit is contained in:
Ashwin Maroli 2020-07-12 21:40:05 +05:30 committed by GitHub
parent 1a03aafb81
commit 716536b551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ Parker Moore,parkr
Liu Fengyun,liufengyun Liu Fengyun,liufengyun
``` ```
This data can be accessed via `site.data.members` (notice that the filename This data can be accessed via `site.data.members` (notice that the file's *basename* determines the variable name and
determines the variable name). 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: You can now render the list of members in a template: