Login

Snippets by doniyor

Snippet List

Highlight matched search term

sterm is the search term. text is the result search text. it will highlight every matched search term in search result. please define your own .yellow css class. use: {{search_result_var|highlight:search_term}}

  • highlighting
  • custom-template-tag
Read More

doniyor has posted 2 snippets.