Permalink
Browse files

only computer languages are added to the title element, not other pag…

…e names
  • Loading branch information...
1 parent 7391dcf commit bc9cf4d7aee121454bf5e9b1d6ff857a5ba1c950 @daxim daxim committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 crank.pl
View
@@ -111,7 +111,7 @@
$html =~ s{<code>\n}{<code>}smxg;
$vars->{body} = $html;
$vars->{section} = ($section eq 'index') ? '.' : "$section.html";
- $vars->{currlang} = ( $desc eq $home ) ? '' : $desc;
+ $vars->{currlang} = ( $desc eq $home or $desc eq $about or $desc eq $translations ) ? '' : $desc;
{
local $ENV{LANG} = 'C';
open my $git, '-|', qw(git log --pretty=format:commit-hash=%h;ref-names=%d;committer-date-relative=%cr);

0 comments on commit bc9cf4d

Please sign in to comment.