From 8c4279f9bbe7ec4681412865b999f2f4457d80ac Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 20:26:34 +0000
Subject: [PATCH] =legacy latest
---
taxonomies/section.php | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/taxonomies/section.php b/taxonomies/section.php
index 3660bef..7135f81 100644
--- a/taxonomies/section.php
+++ b/taxonomies/section.php
@@ -1,5 +1,5 @@
<?php
-// /taxonomies/target.php
+// /taxonomies/section.php
function altr_section():array
{
return [
@@ -7,6 +7,7 @@
'plural' => 'Sections',
'icon' => 'folder',
'show_feed' => false,
+ 'show_directory'=> true,
'rewrite' => [
'slug' => 'faq',
'with_front' => false,
@@ -16,6 +17,22 @@
'for_content' => [
'faq',
],
+ 'seo' => [
+ 'meta' => [
+ 'title' => '{{term_name}} | FAQ',
+ 'description' => '{{description}}'
+ ],
+ 'schema' => [
+ 'type' => 'FAQPage',
+ 'name' => '{{term_name}} | FAQ',
+ 'description' => '{{term_description}}',
+ ],
+ 'archive' => [
+ 'type' => 'FAQPage',
+ 'name' => '{{term_name}} - Frequently Asked Questions',
+ 'description' => '{{description}}',
+ ]
+ ],
'fields' => [
'term_name' => [
'label' => 'Name',
--
Gitblit v1.10.0