cableman/ding-wiki — comment on commit 8ca42c3e8e46b7e039d50876d1808a1679056af8
File: ding_wiki.module line 165
By cableman:

But the front-page would not have a node type, as it's a panel and not go into the if statement (I most miss something here).

```javascript
if ($vars['node_type'] == 'wiki_page') {
// So we only get here if node type is wiki_page

$vars['wiki_page'] = FALSE;
if ((arg(0) == 'node') && is_int(arg(1)) && !arg(2)) { // path eq node/nid ?
$node = node_load(arg(1));
$vars['wiki_page'] = $node->type == 'wiki_page'; // So give that node is wiki page in the outer if, would this not always be wiki page ?
}
)
```