Skip to content

Releases: pet-comp-ufsc/postgen

TOML for posts & theme

03 Feb 23:48
Compare
Choose a tag to compare

New features:

  • Post's data is now stored in TOML files (instead of __main__ of package).
  • Post's data path are now specified in command line;
  • Output filename can be passed using --output FILENAME optional flag;
  • Theme is now stored in TOML files, with pet default theme. On --theme THEME flag, if THEME is an existing file, then the file is loaded as a Theme TOML. If not, then the package searches for themes in its themes directory. Error is raised if none is found.

Complete post generation.

01 Feb 18:56
Compare
Choose a tag to compare

Features:

  • Customize post data: title, description and logo;
  • Customize post theme: foreground and background color;
  • Use custom drawing function;
  • Can use SVG logos besides non-vectorized image formats (such as PNG, JPG, ...);
  • Export to file or just display (with --display).