Update pelican_import.py

Link to ```{filename}/path/to/file```
This commit is contained in:
Stuart Axon 2017-10-14 17:35:51 +01:00 committed by GitHub
commit 310ae7edee

View file

@ -764,7 +764,7 @@ def fields2pelican(
for path, urls in attached_files.items():
for url in urls:
content = re.sub(url,
r'{filename}/%s' % path,
r'/{filename}/%s' % path,
content)
if out_markup == 'markdown':