% switch (type) { case 'category': title = page.category; icon = 'folder'; break; case 'tag': title = '#' + page.tag; icon = 'tag'; break; } %>