瀏覽代碼

bugfix in blog

version-14
Rushabh Mehta 11 年之前
父節點
當前提交
cee0ee13a0
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/templates/generators/blog_post.py

+ 1
- 1
frappe/templates/generators/blog_post.py 查看文件

@@ -33,7 +33,7 @@ def get_context(context):
"description": blog_post.description, "description": blog_post.description,
} }


image = find_first_image(blog_post.main_section)
image = find_first_image(blog_post.content)
if image: if image:
blog_post.metatags["image"] = image blog_post.metatags["image"] = image




Loading…
取消
儲存