Change default template to use the new facility

This commit is contained in:
Louis Dureuil 2024-09-02 11:30:59 +02:00
parent 580ea2f450
commit 4464d319af
No known key found for this signature in database

View File

@ -55,8 +55,10 @@ fn default_template() -> liquid::Template {
}
fn default_template_text() -> &'static str {
"{% for field in fields %} \
"{% for field in fields %}\
{% if field.is_searchable and field.value != nil %}\
{{ field.name }}: {{ field.value }}\n\
{% endif %}\
{% endfor %}"
}