From da4e3a5b6670e5116c95d7c6db8d7155d66968e6 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 14 Apr 2017 01:56:17 +0200 Subject: Dates config expanded, standard path included in uniform build scripts --- config/dates.json | 4 +--- config/prod-dates.json | 8 ++++++++ config/test-dates.json | 18 ++++++++++++++---- 3 files changed, 23 insertions(+), 7 deletions(-) mode change 100644 => 120000 config/dates.json create mode 100644 config/prod-dates.json (limited to 'config') diff --git a/config/dates.json b/config/dates.json deleted file mode 100644 index 7dfdd66..0000000 --- a/config/dates.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "2016-12-31": "." -} diff --git a/config/dates.json b/config/dates.json new file mode 120000 index 0000000..f302866 --- /dev/null +++ b/config/dates.json @@ -0,0 +1 @@ +prod-dates.json \ No newline at end of file diff --git a/config/prod-dates.json b/config/prod-dates.json new file mode 100644 index 0000000..d086a9d --- /dev/null +++ b/config/prod-dates.json @@ -0,0 +1,8 @@ +[ + { + "date": "2016-12-31", + "url": "index.html", + "name": "I 2017", + "index": "1" + } +] diff --git a/config/test-dates.json b/config/test-dates.json index f417da7..d7ac8f8 100644 --- a/config/test-dates.json +++ b/config/test-dates.json @@ -1,4 +1,14 @@ -{ - "2016-12-31": "2017-01.html", - "2017-04-30": "." -} +[ + { + "date": "2016-12-31", + "url": "2017-01.html", + "name": "I 2017", + "index": "1" + }, + { + "date": "2017-04-30", + "url": "index.html", + "name": "II 2017", + "index": "2" + } +] -- cgit v1.2.3