Dev Diary 83: Search, Import, OG Tags — The CMS Just Got Smarter

@PMUK, Here’s a basic example. But as @ben said, this may change so don’t go crazy creating 100’s of posts :wink:

---
title: "Sample Lorem Ipsum Post"
date: '2025-03-17'
image: images/yourimage.jpg
tags:
- example
- personal
---

# Lorem Ipsum Dolor Sit Amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec *italic* ac ante commodo suscipit. Vivamus at malesuada leo.

## Subheading Example

Curabitur vehicula nisl ut velit **Bold**, ut tincidunt orci sagittis. Aliquam erat volutpat. In vitae velit sit amet elit gravida scelerisque non nec justo.

Built with [Elements](https://elementsapp.io).

In Elements you can just pop these files in a folder in your pages list, like this…

Thanks I do understand it may change but might have one or two done by launch but certainly NOT thousands!:rofl::rofl::rofl:

1 Like

@ben This just keeps getting better and better.

The fact that I can easily bring over all of my Alloy blog posts (many) is going to be a win. They are already setup to use image assets that are warehoused on my server, so I won’t need to change anything. Although I will go through them and change the front matter to align with Elements.

The search will be a great addition.

Now I’m getting even more impatient waiting to get my hands on this so I can add the final piece to one of my sites.

2 Likes

@dan What is the correct front matter format for the image ALT text?

I want to update my old blog posts so they have the Elements front matter.

I know everyone’s excited to start creating or converting markdown files into the “Elements format” — and that’s great to see! That said, I want to stress that the format isn’t final yet.

It’s very likely we’ll need to make changes to the front matter structure before launch, which could mean reworking anything created too early.

So my advice: as tempting as it is to dive in, it’s best to hold off for a couple of weeks. I know that might be a bit frustrating, but as the saying goes — good things come to those who wait :slightly_smiling_face:

My thoughts on converting from Alloy, Jekyll, or any other markdown-based CMS: use ChatGPT.

I’ve already run a proof of concept using ChatGPT to convert Alloy posts to the Elements format, and it was surprisingly effective. It handled the structure really well, and I even had it auto-generate tags based on the content of each file.

So if you’re looking to convert your posts to the right markdown format, our AI overlords might be the best bet :laughing:

3 Likes

Thanks but stop teasing me with your Dev Diaries I can’t cope! :slight_smile: :slight_smile: :slight_smile:
Keep up the brilliant work you’re doing!

2 Likes

I’d be curious to know how you structured the request to ChatGPT?