diff --git a/scripts/article.py b/scripts/article.py index c5bb932..f9003f4 100755 --- a/scripts/article.py +++ b/scripts/article.py @@ -159,10 +159,10 @@ def create_social_card(article_name: str) -> None: print(f"The article {article_name} does not exist.") sys.exit(1) os.system( - f"./scripts/social-cards-zola -i blog/{article_name}/index.md -b http://127.0.0.1:1111 -o static/img/social_cards/" + f"./scripts/social-cards-zola -i b/{article_name}/index.md -b http://127.0.0.1:1111 -o static/img/social_cards/" ) print(f"The social card for the article {article_name} has been created successfully.") - print(f"The url path is: /img/social_cards/blog_{article_name.replace('-', '_')}.jpg") + print(f"The url path is: /img/social_cards/b_{article_name.replace('-', '_')}.jpg") def main() -> None: