Commit Graph

8 Commits

Author SHA1 Message Date
Corentin 1660e6944c feat: pass context instance when rendering templates 2024-05-31 18:22:00 +02:00
Corentin b028477371 refactor: do not allow relative content loading
It messes up with the localization system, and brings to much trouble for a feature that will probably encourage bad or convoluted designs
2024-05-22 00:46:42 +02:00
Corentin 7a86eb432c refactor: load and write content as bytes
Allow loading and transforming other things than text files (images)
2024-05-22 00:19:37 +02:00
Corentin f7bd1fd62f feat: allow to load content from relative path nested in other content
Allow to declare assets paths relative to the current yaml or Markdown file
2024-05-22 00:13:28 +02:00
Corentin cb2d41d571 style: use generic parameter for Content class 2024-05-21 23:32:48 +02:00
Corentin bdcb460a02 fix: fix creation of parent directory of written content files 2024-05-21 23:23:56 +02:00
Corentin e98344e0a0 feat: add glob method on Context 2024-05-21 23:13:46 +02:00
Corentin fc9a8dc461 refactor: get a shorter name 2024-05-21 22:36:52 +02:00
Renamed from jwebsite/context.py (Browse further)