[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
-[% INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1 %]
-
[% parentComment = nodeParam(parent(token),'comment') %]
-[% IF parentComment %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %]
+[% IF parentComment;
+ INCLUDE htmlstart title='Graphs for ' _ xmlnorm(parentComment) printpath=1;
+ ELSE;
+ INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1;
+ END;
+%]
[% INCLUDE variables %]