diff options
| -rw-r--r-- | addons/website_blog/views/snippets/s_latest_posts.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_blog/views/snippets/s_latest_posts.xml b/addons/website_blog/views/snippets/s_latest_posts.xml index c5f267a0b4a..01628c02643 100644 --- a/addons/website_blog/views/snippets/s_latest_posts.xml +++ b/addons/website_blog/views/snippets/s_latest_posts.xml @@ -61,7 +61,7 @@ <figure t-foreach="posts" t-as="p" class="post s_latest_posts_post col-md-6 col-lg-4"> <figcaption> <h4 class="mb0"><a t-att-href="'/blog/%s/%s' % (p.blog_id.id, p.id)"><t t-esc="p.name"/></a></h4> - <h5 class="mt0 mb4" t-field="p.write_date" t-options='{"format": "dd/MM"}' /> + <h5 class="mt0 mb4" t-field="p.post_date" t-options='{"format": "dd/MM"}' /> </figcaption> <a t-att-href="'/blog/%s/%s' % (p.blog_id.id, p.id)"> <t t-call="website.record_cover"> @@ -85,7 +85,7 @@ <a t-att-href="'/blog/%s/%s' % (p.blog_id.id, p.id)"><h4 class="mb-0"><t t-esc="p.name"/></h4></a> </div> <div class="card-footer d-flex justify-content-between"> - <span class="text-muted mb-0" t-field="p.write_date" t-options='{"format": "MMM d, yyyy"}' /> + <span class="text-muted mb-0" t-field="p.post_date" t-options='{"format": "MMM d, yyyy"}' /> <span class="text-muted mb-0">In <a class="font-weight-bold" t-esc="p.blog_id.name" t-att-href="'/blog/%s' % (p.blog_id.id)" /></span> </div> </div> |
