Skip to content

Releases: yaph/logya

5.2.1

06 Nov 00:23
Compare
Choose a tag to compare
  • Fix escaping of HTML in content by turning off Jinja autoescape.

5.2.0

05 Nov 23:50
Compare
Choose a tag to compare
  • Use pyproject.toml instead of setup.py.
  • Update dependencies and don't pin specific versions.

5.1.0

23 Dec 01:33
Compare
Choose a tag to compare
  • Make util.slugify available to templates.

4.7.3

26 Oct 21:37
Compare
Choose a tag to compare
  • Fix dependencies to specific versions, so Logya 4 works.

5.0.0

24 Jan 12:45
Compare
Choose a tag to compare

This release includes several backwards incompatible changes, most notably it requires Python 3.8 or higher.

  • Rename the deploy directory to public and the attribute dir_deploy to dir_public.
  • Only rebuilt the index in serve mode when a requested URL is not in the index.
  • Load site settings once during initialization. Changes to site.yaml are visible only after restarting the server.
  • The template to use for a file in content must be specified as the header attribute template.
  • Markdown extensions are configurable in site.yaml. By default no extensions will be used.
  • Pre-render content attributes on demand by setting the pre_render document attribute to a list of attribute names.
  • Removed canonical template variable.
  • The languages setting for multilingual sites and the auto-prefixing of collection URLs with language codes changed.

4.7.2

18 Nov 20:31
Compare
Choose a tag to compare
  • Allow for header attribute values to contain --- without breaking the parser.

4.7.1

18 Nov 20:31
Compare
Choose a tag to compare
  • Only build index for directory and HTML page requests on serve mode.

4.7.0

20 Jan 23:13
Compare
Choose a tag to compare

The last release in the 4.x series that adds new features.

  • Call strip on given path first in slugify.
  • Add doc_index function in template.py.
  • Add collection_index function in template.py.

4.6.0

15 Aug 18:39
Compare
Choose a tag to compare
  • Make collections available to templates as lists of path, value tuples.
  • Convert created and updated document attributes to datetime objects if they are strings.

4.4.0

05 Feb 23:40
Compare
Choose a tag to compare
  • Add build and write methods to Generate class, so subclasses can easily overwrite the build and write steps.
  • Handle UnicodeDecodeError in filesource when reading binary files.
  • Make slugify function from path module available in templates.