Migrate content from markdown to Appwrite database
Remove static markdown file dependencies and update all pages/components to fetch data directly from Appwrite collections, while maintaining existing service functions for data retrieval and adding new CRUD operations for projects.
This commit is contained in:
1 parent
7e3b5b7a55
commit
03a79e2f79
18 files changed
+1990
-5876
No files matched your search
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: "Feature Blog Template"
|
||||
template: "feature"
|
||||
date: 2025-08-17
|
||||
draft: false
|
||||
featured: true
|
||||
tags: ["template", "feature"]
|
||||
summary: "Template for feature-focused blog posts"
|
||||
---
|
||||
|
||||
# Feature Blog Template
|
||||
|
||||
This is a template for feature-focused blog posts. It includes additional styling and structure to highlight key features.
|
||||
|
||||
## Key Features
|
||||
|
||||
- Dedicated featured content area
|
||||
- Enhanced visual presentation
|
||||
- Additional metadata fields
|
||||
- Special formatting for feature showcases
|
||||
|
||||
## Usage
|
||||
|
||||
When creating a new blog post using this template, you can customize the content to showcase specific features or products.
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: "News Blog Template"
|
||||
template: "news"
|
||||
date: 2025-08-17
|
||||
draft: false
|
||||
featured: false
|
||||
tags: ["template", "news"]
|
||||
summary: "Template for news-style blog posts"
|
||||
---
|
||||
|
||||
# News Blog Template
|
||||
|
||||
This is a template for news-style blog posts. It's designed for announcing updates, releases, and important announcements.
|
||||
|
||||
## Key Features
|
||||
|
||||
- Clean, concise layout
|
||||
- Date and time stamp prominently displayed
|
||||
- News-focused metadata
|
||||
- Simple formatting for quick reading
|
||||
|
||||
## Usage
|
||||
|
||||
Use this template for publishing company news, product updates, or any announcements that need to be clearly communicated to readers.
|
||||
@@ -18,6 +18,8 @@ const blog = defineCollection({
|
||||
date: z.coerce.date(),
|
||||
tags: z.array(z.string()),
|
||||
draft: z.boolean().optional(),
|
||||
template: z.string().optional(), // Add template field
|
||||
featured: z.boolean().optional(), // Add featured field
|
||||
}),
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user