diff --git a/frappe/docs/user/en/tutorial/web-views.md b/frappe/docs/user/en/tutorial/web-views.md index a1dd2af2c6..ab2f442a98 100755 --- a/frappe/docs/user/en/tutorial/web-views.md +++ b/frappe/docs/user/en/tutorial/web-views.md @@ -24,7 +24,7 @@ Click on one article and you will see the default web view Now if you want to make a better list view for the article, drop a file called `list_item.html` in the `library_management/doctype/article` folder. Here is an example file: -
{{ doc.author }}
{{ (doc.description[:200] + "...") - if doc.description|length > 200 else doc.description }}
+ if doc.description|len > 200 else doc.description }}Publisher: {{ doc.publisher }}