Mercurial > libervia-templates
view sat_templates/templates/bulma/blog/comments_panel.html @ 363:cddac8502c4b
chat/message: fix urlize escaping on nunjucks:
Nunjucks imply to use `safe` when using `urlize`, while Jinja2 doesn't. Esacaping and safe
filter are added so that `urlize` can work with both engines.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Jun 2023 10:40:53 +0200 |
parents | a0e889d73bad |
children |
line wrap: on
line source
{% import 'input/textbox.html' as textbox with context %} {% import 'blog/macros.html' as blog with context %} <div class="wrapper"> <div class="panel_wrapper click_to_close"> <div class="comments_side_panel"> <section class="section"> {{ blog.show_items(comments, expanded=true, dates_fmt='relative') }} <div class="comment_post mt-4"> {{- textbox.comment_or_login(service=comments_service, node=comments_node) -}} </div> </section> </div> </div> </div>