Blog module categories listing wit how to add active class based on current category

I am using https://addons.silverstripe.org/add-ons/silverstripe/blog/ add on for blogs
and using below code to list categories:

<% if $Categories %>


All Articles
<% loop $Categories %>
$Title
<% end_loop %>

<% end_if %>

I want to know how to add active class in the loop based on current category url.