Sfoglia il codice sorgente

bugfix in blog

version-14
Rushabh Mehta 11 anni fa
parent
commit
cee0ee13a0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      frappe/templates/generators/blog_post.py

+ 1
- 1
frappe/templates/generators/blog_post.py Vedi 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



Caricamento…
Annulla
Salva