Commit Graph
7 Commits
Author SHA1 Message Date
tanner 8e7f80fa2f Allow multiple links in one line 2024-11-11 19:28:15 +02:00
tanner 41dd1d6491 Improve docs 2022-04-22 16:16:17 -06:00
tanner 81d8607411 Allow more characters in file names
Before it would break on my-file for example
2022-04-22 16:05:39 -06:00
tanner 7ee02b03d1 Include "/" in empty paths
When articles were in the base directory, the string replacement:
`str(full_path).replace(str(base_path) + '/'`
would not match, causing the whole absolute path to be included which
would break the link.

This should now work if the article is in the base directory or in any
subfolder.
2022-04-22 15:34:27 -06:00
tanner bd55a6b66f Make naming a bit more clear 2022-04-22 15:33:13 -06:00
tanner 30670d998e Regenerate paths on each change
This is so we can detect new files without having to restart the Pelican
server. Computers are fast enough anyway.
2022-04-22 15:31:08 -06:00
tanner d3735aa826 Don't iterate over articles twice 2022-04-22 15:29:38 -06:00