13 Commits

Author SHA1 Message Date
Warren Chen
2c21cca5a7 Clean up and re-generate migrations 2025-11-26 17:29:52 +09:00
Warren Chen
97ddd2dfd1 Refactor search view to improve query handling and pagination logic 2025-11-11 13:49:10 +09:00
Warren Chen
653847df6a Add search functionality to ArticlePage and enhance search templates
- Implement search fields in ArticlePage model for indexing.
- Update hashtag search view to include site root in context.
- Enhance header with a search form for articles.
- Modify search results template to improve user experience and display.
2025-11-10 16:42:15 +09:00
Warren Chen
a98d36da14 Add hashtag search functionality and create hashtag page template 2025-11-10 15:39:43 +09:00
Warren Chen
d75ea17b32 Normalize article dates and update ArticlePage model to use DateTimeField; configure S3 storage settings and update requirements for django-storages 2025-11-10 14:58:22 +09:00
Warren Chen
b04ad110a6 Add tagging and trending functionality to ArticlePage
- Created ArticlePageTag model for tagging articles.
- Added ClusterTaggableManager to ArticlePage for tag management.
- Renamed 'recommended' field to 'trending' in ArticlePage.
- Updated migrations to reflect changes in models.
- Implemented methods to retrieve trending articles and related articles based on tags.
- Modified templates to display tags and related articles on article pages.
- Refactored category and homepage templates to accommodate new sections and layouts.
- Removed deprecated templates and added new includes for better modularity.
- Updated header to include links for latest and trending articles.
- Added environment variable support for configurable block and page sizes.
- Updated requirements to include python-dotenv for environment variable management.
2025-11-06 16:49:31 +09:00
Warren Chen
7c9fe7f6f9 Enhance ValidatingEmbedBlock with strict host validation and update ArticlePage fields in migration 2025-10-29 18:41:16 +09:00
Warren Chen
ee6eb0db17 Add banner image support to ArticlePage and enhance embed validation
- Introduced `banner_image` field to ArticlePage model.
- Updated article templates to display banner images.
- Added ValidatingEmbedBlock for improved URL validation.
- Refactored category block templates to use static template loading.
- Enhanced header navigation to include submenu support.
- Updated .gitignore to exclude media files.
2025-10-29 15:59:20 +09:00
Warren Chen
3232de90d4 Add article and category page models, templates, and default cover image 2025-10-17 17:47:21 +09:00
Warren Chen
0874255859 Add header 2025-10-16 15:29:55 +09:00
Warren Chen
b97fed5340 Implement footer navigation and social media 2025-10-16 12:02:57 +09:00
Warren Chen
8a11ff2c28 Add .gitignore and launch configuration; remove compiled Python files and unused database settings 2025-10-10 16:30:36 +09:00
Warren Chen
1ed89ebb32 reate project 2025-10-10 13:51:49 +09:00