Commit Graph

23 Commits

Author SHA1 Message Date
Corentin cf5cfbd09f test: test Context.load works with both string and Path 2024-05-22 00:06:51 +02:00
Corentin 77c30117ed refactor: do not make ContentField inherit from Content 2024-05-21 23:52:51 +02:00
Corentin 35454bfc0f refactor: make _MarkdownDocument inherit from content 2024-05-21 23:42:51 +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
Corentin 2729af8e39 refactor: organize code in context & extensions 2024-05-21 21:13:55 +02:00
Corentin 8591ae53fa fix: fix content cached between languages 2024-05-21 15:34:49 +02:00
Corentin e898505125 feat: allow to define translation for jinja2 i18n 2024-05-21 15:15:00 +02:00
Corentin e6363bea4e feat: load localized content 2024-05-21 12:24:51 +02:00
Corentin b2748a6cf3 feat: add git_creation_date method 2024-05-21 01:22:20 +02:00
Corentin 8a614fee99 feat: return Markdown metadata items as DataItem 2024-05-21 00:54:01 +02:00
Corentin 051a51280f feat: add glob method on ContentDirectory 2024-05-21 00:52:28 +02:00
Corentin f691669d76 feat: add accessor and iterator method on data field 2024-05-20 21:43:19 +02:00
Corentin 562ecf366c feat: add output filter to copy files to output directory 2024-05-20 21:40:06 +02:00
Corentin a23da83687 feat: add as_path on data items 2024-05-20 19:45:44 +02:00
Corentin 1a32cb2b42 feat: add build command 2024-05-20 15:46:58 +02:00
Corentin 1f1037dd01 feat: add Site class to render pages 2024-05-20 12:14:09 +02:00
Corentin bf443a39e1 feat: add Markdown file content class 2024-05-20 08:53:29 +02:00
Corentin e0598cc7b7 feat: add DataFile content class 2024-05-20 08:21:45 +02:00
Corentin b968cde1c2 feat: add ContentDirectory class 2024-05-20 08:07:13 +02:00
Corentin cb674a9642 chore: create project 2024-05-19 19:15:38 +02:00