kaushalmodi / ox-hugo

A carefully crafted Org exporter back-end for Hugo
https://ox-hugo.scripter.co
GNU General Public License v3.0
867 stars 130 forks source link

Replacing Front Matter Keys Globally #718

Open ajdillhoff opened 11 months ago

ajdillhoff commented 11 months ago

The feature to replace front matter keys is helpful for themes that are set up to use authors instead of author: https://ox-hugo.scripter.co/doc/replace-front-matter-keys/

What I think my problem is The downside to this is that I have to add that key to every single article that I create. If I ever decided to change themes, I would have to go through and change them all again (I think).

What I would like to do Is there a way I can replace front matter keys during the export process through my config? At the very least, I would only need to export again without that setting if I ever changed themes.