Skip to content

Allow remapping front-matter variables #772

@kaibagley

Description

@kaibagley

Hey, thanks for the great package

I have an org-roam setup i've added around 500 files to over the last couple years, and in all of these I use

...
#+CREATED: <date>
#+MODIFIED: <date>
...

As the creation and modified dates. But ox-hugo requires:

...
#+date: <date>
#+hugo_lastmod: <date>
...

I'd prefer not to replace-regexp for all files if possible, so I was wondering how you would feel about allowing users to remap front matter property names, maybe with an alist (('hugo_lastmod . "CREATED") ('date . "MODIFIED")) or something along those lines.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions