add twig extension for article

add twig extension for article