summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-04-14 01:56:17 +0200
committeremkael <emkael@tlen.pl>2017-04-14 01:56:17 +0200
commitda4e3a5b6670e5116c95d7c6db8d7155d66968e6 (patch)
tree8365620dd0eab4a6b48f5d8d68417e9c19e475cc /config
parent8dda3f31a20df59d6748ba78b8bf2683341bcf07 (diff)
Dates config expanded, standard path included in uniform build scripts
Diffstat (limited to 'config')
l---------[-rw-r--r--]config/dates.json4
-rw-r--r--config/prod-dates.json8
-rw-r--r--config/test-dates.json18
3 files changed, 23 insertions, 7 deletions
diff --git a/config/dates.json b/config/dates.json
index 7dfdd66..f302866 100644..120000
--- a/config/dates.json
+++ b/config/dates.json
@@ -1,3 +1 @@
-{
- "2016-12-31": "."
-}
+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"
+ }
+]