FlickLeakedFlow🕒📗

my blog is my love

Posts

Showing posts with the label p4

how to use jekyll collections and data to scale your migrated wordpress content

Why you need structured content after migration After migrating from WordPress, your content might be flat—stored in the _posts folder with date-based filenames. While this works for simple blogs, it breaks down when managing diverse content types like: Case studies Product documentation Tutorial series Client portfolios Using Jekyll collections and data files , you can create custom content types that are modular, organized, and easier to scale. What are collections in Jekyll? A collection is a group of related documents stored in a named folder. Think of collections as WordPress custom post types but simpler and faster. Example: You want a separate section for case studies. Create a collection: _case_studies/ ├── jekyll-migration.md ├── seo-optimization.md Then define it in your _config.yml : collections: case_studies: output: true permalink: /case-studies/:name/ How to build layouts for collections Each collection can use its own layout....

Labels


© . All rights reserved.

-