**Major Release** — introduces the long-awaited **Dark Mode Toggle**, streamlining accessibility and usability enhancements. ##Added * **Dark Mode Toggle** * Frontend toggle switch included in template. * JavaScript handles switching between light/dark modes. * Dark mode CSS rules applied across template styles. * Automatic persistence of user choice (via localStorage). * **Header Parameters Update** * Added **logo parameter support** in template settings. * Updated metadata & copyright header. * **Expanded TOC (Table of Contents)** * Automatic TOC injection when enabled. * User selects placement via article > options > layout (`toc-left` or `toc-right`). ##Improved * Cleaned up `index.php` by removing **skip-to-content** duplicate calls. * Consolidated JavaScript asset loading (ensuring dark-mode script is loaded correctly from external JS file). * Streamlined CSS for **toggle switch**, ensuring it inherits Bootstrap/Cassiopeia defaults. * General accessibility refinements in typography and color contrast. ##Fixed * Fixed missing **logo param** in header output. * Corrected stylesheet inconsistencies between Bootstrap 5 helpers and template overrides. * Patched redundant calls in script includes.
100 lines
4.9 KiB
INI
100 lines
4.9 KiB
INI
# =========================================================================
|
||
# Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||
#
|
||
# This file is part of a Moko Consulting project.
|
||
#
|
||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||
#
|
||
# This program is free software; you can redistribute it and/or modify
|
||
# it under the terms of the GNU General Public License as published by
|
||
# the Free Software Foundation; either version 3 of the License, or
|
||
# (at your option) any later version.
|
||
#
|
||
# This program is distributed in the hope that it will be useful,
|
||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
# GNU General Public License for more details.
|
||
#
|
||
# You should have received a copy of the GNU General Public License
|
||
# along with this program. If not, see https://www.gnu.org/licenses/ .
|
||
# =========================================================================
|
||
# FILE INFORMATION
|
||
# DEFGROUP: Joomla
|
||
# INGROUP: Moko-Cassiopeia
|
||
# PATH: language/en-US/tpl_moko-cassiopeia.sys.ini
|
||
# VERSION: 02.00
|
||
# BRIEF: English (US) system language strings for template metadata and installer
|
||
# =========================================================================
|
||
|
||
TPL_MOKO-CASSIOPEIA="Moko-Cassiopeia Site template"
|
||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_COLLAPSE-METISMENU="Collapsible Dropdown"
|
||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_DROPDOWN-METISMENU="Dropdown"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_BANNER="Banner"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_BELOW-TOP="Below Top"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-A="Bottom-A"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-B="Bottom-B"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_BREADCRUMBS="Breadcrumbs"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_DEBUG="Debug"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_FOOTER="Footer"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-BOTTOM="Main-bottom"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-TOP="Main-top"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_MENU="Menu"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_SEARCH="Search"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-LEFT="Sidebar-left"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-RIGHT="Sidebar-right"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-A="Top-a"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-B="Top-b"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_TOPBAR="Top Bar"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-LEFT="Drawer-Left"
|
||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-RIGHT="Drawer-Right"
|
||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION=
|
||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION="<h3>MOKO-CASSIOPEIA Template Description (v2.0)</h3>
|
||
<p>
|
||
<strong>MOKO-CASSIOPEIA 2.0</strong> continues Joomla’s tradition of space-themed default templates—
|
||
building on the legacy of <em>Solarflare</em> (Joomla 1.0), <em>Milkyway</em> (Joomla 1.5),
|
||
and <em>Protostar</em> (Joomla 3.0).
|
||
</p>
|
||
<p>
|
||
This template is a customized fork of the <strong>Cassiopeia</strong> template introduced in Joomla 4,
|
||
preserving its modern, accessible, and mobile-first foundation while introducing new stylistic
|
||
enhancements and structural refinements specifically tailored for use by Moko Consulting.
|
||
</p>
|
||
<p>
|
||
<strong>Version 2.0</strong> introduces significant new functionality including a Dark Mode toggle,
|
||
Google Tag Manager (GTM) and Google Analytics 4 (GA4) hooks, and expanded template configuration
|
||
options — all while keeping overrides minimal and upgrade-friendly.
|
||
</p>
|
||
|
||
<h4>Features</h4>
|
||
<ul>
|
||
<li>Fully responsive and mobile-first layout</li>
|
||
<li>Based on Joomla 4+ template architecture</li>
|
||
<li>Enhanced SCSS and CSS overrides for streamlined custom styling</li>
|
||
<li>Built-in support for <strong>Bootstrap 5</strong></li>
|
||
<li>Font Awesome 6 integration for modern iconography</li>
|
||
<li>Automatic Table of Contents (TOC) — selectable per article via <code>toc-left</code> or <code>toc-right</code> layouts</li>
|
||
<li><strong>Dark Mode toggle (new in v2.0)</strong> with user switch and admin override</li>
|
||
<li><strong>Optional GTM + GA4 hooks (new in v2.0)</strong> for analytics and marketing integration</li>
|
||
<li>Optimized template structure for performance and maintainability</li>
|
||
<li>Custom module positions and layout presets</li>
|
||
<li>Accessible, lightweight, and extensible for long-term use</li>
|
||
<li>Ideal for professional services, portfolios, and informational websites</li>
|
||
</ul>
|
||
|
||
<h4>Code Attribution</h4>
|
||
<p>
|
||
This template is based on the original <strong>Cassiopeia</strong> template developed by the
|
||
<a href=\"https://www.joomla.org\" target=\"_blank\" rel=\"noopener\">Joomla! Project</a> and released under the GNU General Public License.
|
||
</p>
|
||
<p>
|
||
Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.
|
||
</p>
|
||
<p>
|
||
It includes integration with
|
||
<a href=\"https://afeld.github.io/bootstrap-toc/\" target=\"_blank\" rel=\"noopener\">Bootstrap TOC</a>,
|
||
an open-source table of contents generator by A. Feld, licensed under the MIT License.
|
||
</p>
|
||
<p>
|
||
All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.
|
||
</p>"
|