{"id":45345222,"url":"https://github.com/deeprave/wagtail-cmspage","last_synced_at":"2026-02-21T11:07:42.887Z","repository":{"id":117669201,"uuid":"548263681","full_name":"deeprave/wagtail-cmspage","owner":"deeprave","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-19T07:38:23.000Z","size":829,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T16:23:35.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeprave.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-09T08:00:28.000Z","updated_at":"2026-01-19T07:37:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8749e7e-2461-40cf-be0f-f65eb4c6d629","html_url":"https://github.com/deeprave/wagtail-cmspage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deeprave/wagtail-cmspage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fwagtail-cmspage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fwagtail-cmspage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fwagtail-cmspage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fwagtail-cmspage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeprave","download_url":"https://codeload.github.com/deeprave/wagtail-cmspage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fwagtail-cmspage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-21T11:07:42.139Z","updated_at":"2026-02-21T11:07:42.880Z","avatar_url":"https://github.com/deeprave.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wagtail-cmspage\n\n**A comprehensive content management solution for Wagtail CMS**\n\nwagtail-cmspage provides ready-to-use page types, content blocks, and templates that accelerate CMS development. Built on Wagtail's StreamField architecture, it offers a complete content editing experience with Bootstrap 5 styling, theme switching, and flexible template systems.\n\n## 🚀 Features\n\n### 📝 **Rich Content Blocks**\n- **Hero Images** - Eye-catching banners with overlay text\n- **Cards** - Flexible card layouts for content organization\n- **Image \u0026 Text** - Side-by-side content with responsive layouts\n- **Rich Text** - Full WYSIWYG editing with custom styling\n- **Call-to-Action** - Prominent buttons and conversion elements\n- **Tables** - Custom styled data tables\n- **Carousels** - Image slideshows and galleries\n- **Forms** - Dynamic form creation with field validation\n\n### 🎨 **Bootstrap 5 Integration**\n- Semantic color palette system with CSS custom properties\n- Light/dark theme switching with system preference detection\n- Responsive utilities and component variants\n- Custom Bootstrap overrides for CMS-specific styling\n\n### 🔧 **Developer Features**\n- Advanced template resolution system supporting multiple CSS frameworks\n- Hierarchical include template system with safe fallbacks\n- Configurable template styles and paths\n- Built-in caching and performance optimizations\n- Extensible mixins for custom page types\n\n### 👥 **Content Editor Experience**\n- Intuitive drag-and-drop page building\n- Live preview of content changes\n- SEO-friendly meta fields and tagging\n- Consistent styling across all content blocks\n\n## 📦 Installation\n\n### Requirements\n- Python 3.8+\n- Django 4.2+\n- Wagtail 5.0+\n\n### Quick Start\n\n1. **Install the package:**\n   ```bash\n   pip install wagtail-cmspage\n   # or with uv\n   uv add wagtail-cmspage\n   ```\n\n2. **Add to Django settings:**\n   ```python\n   INSTALLED_APPS = [\n       ...\n       'cmspage',\n       ...\n   ]\n   ```\n\n3. **Run migrations:**\n   ```bash\n   python manage.py migrate\n   ```\n\n4. **Create your first CMS page:**\n   - Go to Wagtail Admin → Pages → Add child page\n   - Select \"CMS Page\" from the page types\n   - Start building with drag-and-drop content blocks\n\n## 🎯 Quick Example\n\n```python\n# Basic usage - no additional code needed!\n# CMSPage works out of the box with default templates and styling\n\n# For custom implementations:\nfrom cmspage.models import CMSPageBase\n\nclass CustomPage(CMSPageBase):\n    # Add your custom fields\n    custom_field = models.CharField(max_length=255, blank=True)\n\n    # Customize available blocks\n    body_blocks = CMSPageBase.body_blocks + [\n        ('custom_block', MyCustomBlock()),\n    ]\n```\n\n## 📚 Documentation\n\n- **[Developer Reference](docs/CMSPAGE.md)** - Complete technical documentation\n- **[Content Editor Guide](docs/CONTENT_EDITOR_GUIDE.md)** - User manual for content creators\n- **[ChangeLog](ChangeLog.md)** - Version history and release notes\n\n## 🔗 Template System\n\nwagtail-cmspage uses an advanced template resolution system that supports:\n\n- **Multiple CSS frameworks** (Bootstrap, Tailwind, etc.)\n- **Hierarchical template discovery** with style-based overrides\n- **Include template system** with safe fallbacks using `{% cmspage_include %}`\n- **Theme switching** with CSS custom properties\n\n```django\n\u003c!-- Template usage example --\u003e\n{% load cmspage_tags %}\n\n\u003c!-- Safe includes that handle missing templates gracefully --\u003e\n{% cmspage_include include.header %}\n{% cmspage_include include.navigation %}\n{% cmspage_include include.theme_switcher %}\n```\n\n## 🎨 Theming\n\nBuilt-in support for light/dark themes with automatic system preference detection:\n\n```html\n\u003c!-- Theme switcher automatically included --\u003e\n\u003cdiv class=\"theme-switcher-fixed\"\u003e\n  \u003c!-- Light/Auto/Dark mode buttons --\u003e\n\u003c/div\u003e\n```\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see our contributing guidelines for details on how to:\n\n- Report bugs and request features\n- Submit pull requests\n- Improve documentation\n- Add new content blocks\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n---\n\n**Built with ❤️ for the Wagtail community**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeprave%2Fwagtail-cmspage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeprave%2Fwagtail-cmspage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeprave%2Fwagtail-cmspage/lists"}