mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
Fix: Footer fix for docs section pages, and Centralized defaultTheme in siteConfig.ts
This commit is contained in:
15
TASK.md
15
TASK.md
@@ -2,17 +2,19 @@
|
||||
|
||||
## To Do
|
||||
|
||||
- [ ] docs pages
|
||||
- [ ] fix site confg link
|
||||
|
||||
- [ ] npm package
|
||||
|
||||
## Current Status
|
||||
|
||||
v2.8.1 ready. Centralized defaultTheme in siteConfig.ts.
|
||||
v2.8.2 ready. Fixed footer not displaying on docs section pages.
|
||||
|
||||
## Completed
|
||||
|
||||
- [x] Fix footer not displaying on docs section pages with showFooter: true
|
||||
- [x] Added footer.md content query to Post.tsx (matching Home.tsx and Blog.tsx pattern)
|
||||
- [x] Updated all 4 Footer component calls to use `post.footer || footerPage?.content` pattern
|
||||
- [x] Footer now falls back to footer.md content when no per-post footer is specified
|
||||
- [x] Priority order: per-post frontmatter `footer:` > synced footer.md content > siteConfig.footer.defaultContent
|
||||
- [x] Updated docs.md, files.md, changelog.md, changelog-page.md with fix documentation
|
||||
|
||||
- [x] Centralize defaultTheme in siteConfig.ts
|
||||
- [x] Added `defaultTheme` field to siteConfig.ts (type: `Theme`)
|
||||
- [x] Added `Theme` type export to siteConfig.ts
|
||||
@@ -25,7 +27,6 @@ v2.8.1 ready. Centralized defaultTheme in siteConfig.ts.
|
||||
- [x] Updated fork-configuration-guide.md with siteConfig.ts reference
|
||||
- [x] Backward compatible: falls back to "tan" if defaultTheme not set
|
||||
|
||||
|
||||
- [x] Docs sidebar group icons via frontmatter
|
||||
- [x] Added `docsSectionGroupIcon` frontmatter field for posts and pages
|
||||
- [x] Icon appears left of the group title expand/collapse chevron
|
||||
|
||||
Reference in New Issue
Block a user