From a3157e6b0add0d345caa15d1e14b1bb6ea8d6ed6 Mon Sep 17 00:00:00 2001 From: Aidan Casey Date: Wed, 29 Mar 2017 16:46:29 -0400 Subject: [PATCH] Added "buttons" option under the HTML object. This allows users to create custom button links on the landing page. --- global.json | 2 ++ templates/home.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/global.json b/global.json index fa12862..95460ae 100755 --- a/global.json +++ b/global.json @@ -38,6 +38,8 @@ "twitter": [], "links": { }, + "buttons": { + }, "google_analytics": false, "piwik_analytics": false, diff --git a/templates/home.php b/templates/home.php index 8bc7774..3f93cdd 100755 --- a/templates/home.php +++ b/templates/home.php @@ -27,6 +27,9 @@ foreach ($page['entry_page'] as $key => $node) { echo '' . $key . ''; } + foreach ($params['html']['buttons'] as $name => $link ) { + echo '' . $name . ''; + } ?>