mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Update pelican_import.py
Link to ```{filename}/path/to/file```
This commit is contained in:
parent
c776cb2234
commit
310ae7edee
1 changed files with 1 additions and 1 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue