Commit Graph

20 Commits

Author SHA1 Message Date
81d8607411 Allow more characters in file names
Before it would break on my-file for example
2022-04-22 16:05:39 -06:00
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
9e84a9ec8b
Pip install via git repo. 2021-07-05 12:34:45 +02:00
Jonathan Sundqvist
4c7efae130 Try without package_dir 2021-07-05 10:13:12 +02:00
Jonathan Sundqvist
329e8d7fd6 Plugin is a namespace package 2021-07-05 10:06:39 +02:00
Jonathan Sundqvist
d6bfbea2af pip et al don't handle metadata for pyproject.toml yet 2021-07-05 09:46:56 +02:00
Jonathan Sundqvist
03b6459cae Try to figure out pyproject.toml 2021-07-05 09:13:05 +02:00
Jonathan Sundqvist
e1f43b285d
Create FUNDING.yml 2021-07-04 15:48:58 +02:00
Jonathan Sundqvist
ad572d265c Support images as well 2021-07-03 20:41:06 +02:00
Jonathan Sundqvist
b118883511 Update readme 2021-07-03 20:11:48 +02:00
Jonathan Sundqvist
bd2d1180f4 Only link posts that actually exists 2021-07-03 20:11:08 +02:00
Jonathan Sundqvist
ace63ac4cd Add license 2021-07-03 19:28:44 +02:00
Jonathan Sundqvist
75ed3e1eb1 Add readme 2021-07-03 19:27:06 +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