I currently have a website that's been built using a static site generator (SSG; in this case, Hugo). The site has about 10 sections, each with 40-50 markdown files. As is the case with most content built out using an SSG, the content files are all well structured and include embedded metadata (via YAML front matter) at the top of each content .md
file.
The front matter is very well structured and includes the following fields across all article files:
title:
subtitle:
description:
tags:
categories:
There is also a staff/person content type with the usual fields:
name_first:
name_last:
job_title:
reports_to:
Etc...
With Hugo (or just some clever BASH scripting), I can easily template these into a CSV (or multiple CSVs), JSON, etc. I know there are obvious differences between flat files/serialized data and an RDBMS, but I'm wondering if there is a clever way for me to make all of this content easily importable for Craft CMS 3, which our company is hoping to use for a major replatforming in about 3-4 months.
The entire site actually has close to 650 pages, but I figure I can start structuring them in markdown with YAML first to avoid a prolonged copy-and-paste nightmare. (Our current "CMS" is not a CMS by any means and doesn't contains any metadata.) I can parse the content out as very clean HTML, plain text, etc.
Any thoughts, first steps, suggestions, etc would be extremely appreciated. Thanks!