summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.py2
-rwxr-xr-xscripts/publish2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.py b/scripts/build.py
index 52f2775..03b83b3 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -72,7 +72,7 @@ if __name__ == '__main__':
trim_blocks=True,
lstrip_blocks=True)
- with open('entries.json') as f:
+ with open('metadata.json') as f:
entries = json.load(f)
published, unpublished = split_entries(entries)
diff --git a/scripts/publish b/scripts/publish
index e76409e..b761265 100755
--- a/scripts/publish
+++ b/scripts/publish
@@ -11,7 +11,7 @@ main() {
local date="$(date -Id)"
mv "$file" entries/"$file"
- jq "[.[], { title: \"$title\", date: \"$date\", file: \"$file\" }]" <entries.json | sponge entries.json
+ jq "[.[], { title: \"$title\", date: \"$date\", file: \"$file\" }]" <metadata.json | sponge metadata.json
}
main "$@"