unchecks
This commit is contained in:
@@ -50,10 +50,11 @@ def export_mdx(r):
|
||||
def export_body(shout, storage):
|
||||
entry = storage["content_items"]["by_oid"][shout["oid"]]
|
||||
if entry:
|
||||
shout["body"] = prepare_html_body(entry) # prepare_md_body(entry)
|
||||
shout["body"], media = prepare_html_body(entry) # prepare_md_body(entry)
|
||||
shout["media"] = media
|
||||
export_mdx(shout)
|
||||
print("[export] html for %s" % shout["slug"])
|
||||
body = extract_html(entry)
|
||||
body, _media = extract_html(entry)
|
||||
open(contentDir + shout["slug"] + ".html", "w").write(body)
|
||||
else:
|
||||
raise Exception("no content_items entry found")
|
||||
|
Reference in New Issue
Block a user