template paths
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
import os
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
import jinja2
|
||||
import requests
|
||||
@ -115,7 +116,8 @@ env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.curdir))
|
||||
env.filters["localize_media_url"] = localize_media_url
|
||||
env.filters["filter_mastodon_urls"] = filter_mastodon_urls
|
||||
|
||||
template = env.get_template("post_template.md")
|
||||
cwd = Path.resolve()
|
||||
template = env.get_template(os.path.join(cwd, "templates" "hashtag.md"))
|
||||
|
||||
|
||||
if not os.path.exists(output_dir):
|
||||
|
Reference in New Issue
Block a user