Dev Log 054 – Dynamic OG Images and Docs Site Polish¶
Not every day is about the CLI.
Today, we put on our site-maintainer hat and worked on something crucial for visibility: Open Graph (OG) image support for entire site.
Why? Because when we share these dev logs on LinkedIn or Threads, the preview card matters. An image that clearly shows the title and context increases click-through, credibility, and helps people remember Dokugent.
✅ What we shipped¶
- A PHP-based
og.phprenderer - A sitemap-to-JSON converter to feed OG metadata
- Dynamic title + subtitle injection for each post
- All baked into the
deploy.shpipeline - OG preview cards now auto-generate for every page
- Frontmatter clean up for pages still ongoing
This kind of work often goes unnoticed, but it’s foundational. Every time someone shares a Dokugent post now, the link looks clean, branded, and aligned with the CLI’s voice.
📌 Next: We’ll resume CLI work—possibly dokugent io, dokugent compliance, or pushing out dokugent plan refinements.