Add active classes based on the URL

This commit is contained in:
Oliver Davies 2016-06-06 18:30:24 +01:00
parent e1d01a2714
commit b1ba8f201a
108 changed files with 19 additions and 119 deletions

View file

@ -1,5 +1,4 @@
---
nav: blog
title: Adding Custom Theme Templates in Drupal 7
description: >
Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.