DRY-Prinzip bei Bereichs-Definition angewendet
[website] / dist / templates / variables.json
index 2f7172c..d09f083 100644 (file)
@@ -1,8 +1,8 @@
 {
   "sections": {
-    "/blog.html": { "name": "Blog", "key": "blog" },
-    "/projects.html": { "name": "Projects", "key": "projects" },
-    "/about.html": { "name": "About", "key": "about" }
+    "blog": "/blog.html",
+    "projects": "/projects.html",
+    "about": "/about.html"
   },
   "pages": {
     "/index.html": { "name": "Home" },