Skip to content

Commit

Permalink
fix crash from print, improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maks committed Aug 7, 2020
1 parent 466c6d4 commit 10d5b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ sort_by: lastModified
**note:** `sortby` not yet implemented.

**DSG** injects your listings into a global _lists variable. For each file all of the files YAML front-matter properties are available along with the files:
**DSG** injects your listings into a global `_lists` variable. For each file all of the files YAML front-matter properties are available along with the files:

* `filename`: the files name without extension.
* `last_modified`: the files last modified date time stamp.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Generator {

final dataMap = _getDataMap(dataFiles);

_logger.info('Listings... ${listingsMap.keys}');
_logger.info('Listings... ${listingsMap?.keys}');

_logger.info('Generating .html files...');

Expand Down

0 comments on commit 10d5b0c

Please sign in to comment.