Browse Source

bugfix in blog

version-14
Rushabh Mehta 11 years ago
parent
commit
cee0ee13a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/templates/generators/blog_post.py

+ 1
- 1
frappe/templates/generators/blog_post.py View File

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

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



Loading…
Cancel
Save