From 41746dfe14e39c9b499a74796e6b9c1209597772 Mon Sep 17 00:00:00 2001 From: Said Tahsin Dane Date: Fri, 20 Feb 2015 00:10:06 +0200 Subject: [PATCH] Added a configuration for Jekyll to enable/disable auto directions in Logistics page. --- _config.yml | 1 + _layouts/default.html | 3 +++ js/scripts.js | 23 ++++++++++++++--------- js/scripts.min.js | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/_config.yml b/_config.yml index 6897233..0f9f42c 100644 --- a/_config.yml +++ b/_config.yml @@ -215,6 +215,7 @@ findWayTransit: "TRANSIT" findWayFindFlight: "Find Flight" logisticsMapCenterCoordinates: "49.056728, 3.117289" logisticsMapMobileCenterCoordinates: "48.335365, 23.711648" +logisticsMapAutoDirections: true # Logistics Direction Details Block directionDetailsImage: "direction-details.jpg" diff --git a/_layouts/default.html b/_layouts/default.html index 97e5e7f..e118bd6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -53,6 +53,9 @@ layout: compress {% elsif page.permalink == '/logistics/' %} + {% endif %}