fdfd
This commit is contained in:
parent
ea20a19339
commit
ca17f0da6b
7 changed files with 18 additions and 12 deletions
|
@ -13,9 +13,10 @@ def app_config(x):
|
|||
return app.config.get(x)
|
||||
|
||||
@app.template_filter("post_embed")
|
||||
def crosspost_embed(id):
|
||||
def post_embed(id):
|
||||
|
||||
id = int(id)
|
||||
try: id = int(id)
|
||||
except: return None
|
||||
|
||||
p = get_post(id, graceful=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue