v3.7.1

Fixed

  • Custom headers where being converted in hook/script environments, now they are just strings
  • Shortcodes __repr__ now uses inspect.signature, supports auto documenting shortcodes with \*args and \*\*kwargs
  • OLD STYLE LOG:

    v3.7.0 - 2022-03-24

    Added

  • Shortcodes, define regular python functions that must reutrn a string in shortcodes.py and use "shortcode_name(arg1, .. argN)" in content where you want them, or <% n = shortcodes['name'](site, page, arg1, .. argN) %>${n}" in templates. Disable shortcodes with page header "disable shortcodes: True". See https://pagegen.phnd.net/user-manual/shortcodes
  • Authors - add authors csv header to pages and authors.conf to generate author pages
  • Excerpts. Use anywhere in content and everything until then will become page.excerpt.
  • Shortcodes list_posts, tags and categories
  • Removed

  • page_titles site.conf setting, to add titles to pages, use templates
  • v3.6.0 - 2022-01-30

    Added

  • Graphviz support for both markdown and rst added
  • Title numbering, use page header 'number headings: true'
  • TOC for pages, use page header 'toc: True' and page.toc will be available in templates
  • Fixed

    v3.5.0 - 2022-01-24

    Added