On Sat, 8 Feb 2020 at 02:30, Shrikant Sharat <shrikantshara...@gmail.com> wrote: > Hey, sorry to bother again. Is it possible to just have the "title" meta > field in the markdown file and then a small python function post-processor > that will add a html_title field in the metadata and clean up markup in the > title field? Essentially automate this process instead of having to write two > title fields in the source files? > > I've looked at the Extending page in the documentation and it looks like one > of Tasks or Signals might be able to do this. Can someone give me some > pointers or possible examples if something like this has been done before > please? > > Thank you.
You could try doing this with a signal handler for the 'scanned' signal that would go through site.timeline and modify post metadata. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7JjeV_O0aqGpixivBasiu65CyLYtjTji5pJ696bD781%2BA%40mail.gmail.com.