Commit Graph

15 Commits

Author SHA1 Message Date
Fabio Manganiello 89ea18a805 Allow parentheses in post headers values 2024-04-11 01:24:38 +02:00
Fabio Manganiello 817b23ac69 Always cast post datetimes to dates on render 2024-04-11 01:10:27 +02:00
Fabio Manganiello 390ca758b9 More resilient logic to handle both date and datetime timestamps in a post metadata 2024-04-11 01:04:13 +02:00
Fabio Manganiello 1cfa8c27db Pages rendered in the RSS feed route shouldn't include the HTML head boilerplate 2022-12-04 15:14:37 +01:00
Fabio Manganiello aab14c7c0f Added support for PWA logic 2022-06-14 10:25:57 +02:00
Fabio Manganiello 5ee10b0d38 If img_dir is not found under content_dir then treat content_dir itself as img_dir 2022-06-14 00:44:01 +02:00
Fabio Manganiello 31e1db359d Support for folders for pages/articles 2022-06-14 00:32:35 +02:00
Fabio Manganiello 2d18dd5bd6 More flexible structure for the content directory.
If the `markdown` subfolder does not exist, then the whole
`config.content_dir` is treated as the root for markdown files.
2022-06-12 00:01:51 +02:00
Fabio Manganiello 56a271d0b6 Infer the title of an article/file when not specified in the header metadata
Infer the title from the first line of the file if it's a header,
otherwise use the filename.
2022-06-11 23:54:18 +02:00
Fabio Manganiello dcc935c4cb If no published date is available on the headers, infer it from the file creation date 2022-06-11 23:02:07 +02:00
Fabio Manganiello b256238d45 Fixed RSS integration and added `header` configuration option 2022-01-12 21:47:53 +01:00
Fabio Manganiello dc882c7237 Do os.path.abspath on custom content folders in the app constructor before initialization
If relative paths are used for the content folder then send_from_directory may mistakenly interpret the paths as relative to the main application, instead of the content folder
2022-01-12 00:30:25 +01:00
Fabio Manganiello 34498c1496 fixed removed import 2022-01-12 00:18:30 +01:00
Fabio Manganiello 3531726f2c docs refactor and minor fixes 2022-01-11 23:43:02 +01:00
Fabio Manganiello a91b564305 First commit 2022-01-11 20:16:27 +01:00