From 5a6906f710e9333507486df3cbb545a67a040881 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 24 May 2026 02:26:17 +0000
Subject: [PATCH] =Minor changes to email.php, which had info for Legacy and edmonton.ink hardcoded in it. Added a colours.php and JVB_COLOURS constant to define our base, contrast, action, and secondary colours for use within php templates
---
inc/blocks/_setup.php | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/inc/blocks/_setup.php b/inc/blocks/_setup.php
index 43ff5c5..889320e 100644
--- a/inc/blocks/_setup.php
+++ b/inc/blocks/_setup.php
@@ -20,7 +20,7 @@
new JVBase\blocks\MenuBlock();
}
- if (Site::has('faq')) {
+ if (!empty(Registrar::getFeatured('is_faq'))) {
require(JVB_DIR . '/inc/blocks/FAQBlock.php');
new JVBase\blocks\FAQBlock();
}
@@ -51,14 +51,15 @@
// ]
// );
// }
- if (!empty(Registrar::getFeatured('show_directory'))) {
- register_block_type(
- JVB_DIR . '/build/list',
- [
- 'render_callback' => 'jvbRenderListBlock'
- ]
- );
- }
+// if (!empty(Registrar::getFeatured('show_directory'))) {
+// error_log('Registering Directory List Block');
+// register_block_type(
+// JVB_DIR . '/build/list',
+// [
+// 'render_callback' => 'jvbRenderListBlock'
+// ]
+// );
+// }
register_block_type(
JVB_DIR . '/build/drawer-menu',
);
--
Gitblit v1.10.0