{"id":16068,"date":"2025-10-09T10:20:33","date_gmt":"2025-10-09T08:20:33","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=16068"},"modified":"2025-10-09T10:20:33","modified_gmt":"2025-10-09T08:20:33","slug":"broken-frontmatter-extension","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/broken-frontmatter-extension\/","title":{"rendered":"Broken FrontMatter Extension"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>For two days now FrontMatter has been slightly broken. When I want to create new posts via the interface it refuses, so I have to copy and paste the front matter info from the previous day, and add it to a new markdown document. The operation is quick and easy but it&#8217;s a shame not to have the tool working as well as it could.<\/p>\n<p>Every Hugo post has a title, a description, the date, preview, draft status, tags, and categories. With the FrontMatter extension all of this is generated automatically. For two or three days when I try to create a new page this isn&#8217;t generated, hence doing it manually.<\/p>\n<p>In practice this is an opportunity to move towards a lighter tool. I could revert to using VIM and work towards being faster with this solution, or I could experiment with using emacs.<\/p>\n<p>With both of these solutions I could use a Pi for blogging, rather than a laptop or desktop. I could live in terminal, rather than use Ubuntu and MacOS. I tried it before, and eventually decided to revert to having a simplified workflow.<\/p>\n<h2>Debugging<\/h2>\n<p>I tried deactivating the plugin. I tried uninstalling and reinstalling it. I tried updating the system and packages. I also tried turning it off and on again, without success. The last thing to try is to clean install VS code and see if that helps.<\/p>\n<p>This could also be the opportunity to get a metaphorical leaf blower and move previous posts towards the blog archive, but I don&#8217;t want to do that yet. I want to keep the history as it is.<\/p>\n<h2>The Side Track<\/h2>\n<p>A few months agoo I was trying to export my blog from WordPress to Ghost but it always timed out so that I only had a partial import of my current blog. I was thinking of playing with vibe coding to create a tool to convert the XML file to something ghost friendly. I haven&#8217;t got around to it.<\/p>\n<p>Of course, because of age I know that with a google search I can find tools prepared by others that might achive what I want. A tool like <a href=\"https:\/\/github.com\/MirisWisdom\/MD2Ghost\">MD2Ghost<\/a> might work well.<\/p>\n<h2>And Finally<\/h2>\n<p>When a workflow breaks we can spend time fixing it, but we can also think laterally and learn about tools that are new to us. I enjoy having the Hugo static blog and the WordPress dynamic blog but I am curious about experimenting with ghost, to learn about a new blogging solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>For two days now FrontMatter has been slightly broken. When I want to create new posts via the interface it refuses, so I have to copy and paste the front matter info from the previous day, and add it to a new markdown document. The operation is quick and easy but it&#8217;s a shame not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12229,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[7033,5268,5197,5897],"class_list":["post-16068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-related","tag-extension","tag-frontmatter","tag-hugo","tag-vs-code"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/16068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=16068"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/16068\/revisions"}],"predecessor-version":[{"id":16069,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/16068\/revisions\/16069"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/12229"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=16068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=16068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=16068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}