Don't leak info in blog errors, make them less scary
This commit is contained in:
@ -104,7 +104,7 @@ def render_blog_post(slug):
|
||||
rendered_content = render_template_string(content)
|
||||
|
||||
# publish the post with docutils
|
||||
return publish_parts(source=rendered_content, source_path=BLOG_DIR, writer_name="html")
|
||||
return publish_parts(source=rendered_content, source_path="BLOG", writer_name="html")
|
||||
|
||||
def get_metadata_from_meta(meta):
|
||||
metaLines = meta.split('\n')
|
||||
|
Reference in New Issue
Block a user