mirror of
https://github.com/SinTan1729/recipe-box-for-wikijs.git
synced 2024-12-25 17:58:35 -06:00
fix: Image link
This commit is contained in:
parent
79b71747a5
commit
52bf04e399
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ def process_recipe(config, scraper, url, verbose=False):
|
|||
# Make sure to upload the image file inside /images/recipe with the proper name or edit the following
|
||||
# lines to suit your needs.
|
||||
if filename:
|
||||
recipe.write('![{filename}]("/images/recipe/{filename}")\n'.format(filename=filename))
|
||||
recipe.write('![{filename}](/images/recipe/{filename})\n'.format(filename=filename))
|
||||
recipe.write('\n')
|
||||
recipe.write('## Information\n')
|
||||
recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))
|
||||
|
|
Loading…
Reference in a new issue