kaushalmodi / ox-hugo

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

Feature Request: #+summary #729

Open opensource-philosophy opened 1 year ago

opensource-philosophy commented 1 year ago

The #+description: <desc> keyword in org exports to description ="<desc>"in .toml, which is great. Sometimes, you would just like to have a summary, though, simply because you are not commited for it to occur in your post. Maybe I have overseen something, but I have not found a way to export into summary = "<sum>". in the .toml. The summary block exports into a div-block:

<div class="SUMMARY">

...

</div>

Is there a simple way to add a function which, similary to the description keyword, exports #+summary: <sum> to summary = "<sum>" in the .toml file? That would be great! And thank you for this beautiful piece of art!