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
bd55a6b66f
Make naming a bit more clear
2022-04-22 15:33:13 -06:00
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
d3735aa826
Don't iterate over articles twice
2022-04-22 15:29:38 -06:00
Jonathan Sundqvist
ad572d265c
Support images as well
2021-07-03 20:41:06 +02:00
Jonathan Sundqvist
bd2d1180f4
Only link posts that actually exists
2021-07-03 20:11:08 +02:00
Jonathan Sundqvist
94f9bcbf94
Updated code that actually works for links
2021-07-03 19:26:57 +02:00
Jonathan Sundqvist
28eeacbba4
Remove # in tag names
2021-07-03 13:41:04 +02:00
Jonathan Sundqvist
d1d89794d5
Use a name when installing with -e
2021-07-03 13:40:42 +02:00
Jonathan Sundqvist
85e947acc8
Initial commit
2021-07-03 12:59:04 +02:00