Skip to content

Commit

Permalink
Null pagers (#191).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed Jul 16, 2022
1 parent 4f5471c commit 52b9c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/build/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func getContent(path string, info os.FileInfo, err error, siteConfig readers.Sit
// Don't add _blueprint.json or other special named files starting with underscores.
if fileName[:1] == "_" {
blueprintDetailsStr := "{\n" +
"\"pager\": 1,\n" +
"\"pager\": null,\n" +
"\"type\": \"" + contentType + "\",\n" +
"\"path\": \"" + path + "\",\n" +
"\"filepath\": \"" + filePath + "\",\n" +
Expand All @@ -306,7 +306,7 @@ func getContent(path string, info os.FileInfo, err error, siteConfig readers.Sit
}

contentDetailsStr := "{\n" +
"\"pager\": 1,\n" +
"\"pager\": null,\n" +
"\"type\": \"" + contentType + "\",\n" +
"\"path\": \"" + path + "\",\n" +
"\"filepath\": \"" + filePath + "\",\n" +
Expand Down

0 comments on commit 52b9c1e

Please sign in to comment.