From 93618e22bcc0b732fc12323dbdc085022d0edd20 Mon Sep 17 00:00:00 2001
From: Benjamin Abraham <benjamin.abraham@unige.ch>
Date: Fri, 15 Mar 2024 10:08:35 +0100
Subject: [PATCH] Fix duplicate title in activities

---
 config.php  | 4 ++++
 version.php | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/config.php b/config.php
index 428edd8..f14d580 100644
--- a/config.php
+++ b/config.php
@@ -51,3 +51,7 @@ $THEME->removedprimarynavitems = [
     'home',
     'courses',
 ];
+// By default, all boost theme do not need their titles displayed.
+$THEME->activityheaderconfig = [
+    'notitle' => true
+];
diff --git a/version.php b/version.php
index a741abc..14a48cf 100644
--- a/version.php
+++ b/version.php
@@ -24,7 +24,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$plugin->version   = 2023110800;
+$plugin->version   = 2024031500;
 $plugin->requires  = 2022111800;
 $plugin->component = 'theme_unige';
 $plugin->dependencies = ['theme_boost' => '2022112800'];
-- 
GitLab