Show example output.
[www.jankratochvil.net.git] / WebConfig.pm
index fe5cd04..001edc2 100644 (file)
@@ -61,7 +61,8 @@ our %WebConfig=(
                                                                .' style="border-collapse: collapse; border-style: solid; border-width: 2px;">'."\n";
                                                        print '<tr>'."\n";
                                                                print '<td style="padding: 5px; font-weight: bold;">'."\n";
-                                                                       print My::Web::a_href('http://www.jankratochvil.net/','Jan Kratochvil');
+                                                                       print My::Web::a_href('http://www.jankratochvil.net/','Jan Kratochvil',
+                                                                                       "attr"=>'style="text-decoration: inherit; /* revoke underline */;"');
                                                                print '</td>'."\n";
                                                        print '</tr>'."\n";
                                                print '</table>';
@@ -74,7 +75,7 @@ our %WebConfig=(
                                                                                My::Web::top_dir()."/project/"=>"Projects",
                                                                                "http://cvs.jankratochvil.net/"=>"CVS",
 #                                                                              My::Web::top_dir()."/News.html.pl"=>"News",
-                                                                               My::Web::top_dir()."/resume/"=>"Resume",
+                                                                               My::Web::top_dir()."/resume/Resume-JanKratochvil.html.pl/Resume-JanKratochvil.html"=>"Resume",
                                                                                My::Web::top_dir()."/Contact.html.pl"=>"Contact",
                                                                                );
                                                                while (@sections) {
@@ -82,7 +83,8 @@ our %WebConfig=(
                                                                        my $section_name=shift @sections;
                                                                        print '<td style="padding: 5px;">';
                                                                                print(($My::Web::W->{"section"} || "") eq $section_name ? "<b>$section_name</b>"
-                                                                                               : My::Web::a_href($section_path,$section_name));
+                                                                                               : My::Web::a_href($section_path,$section_name,
+                                                                                                               "attr"=>'style="text-decoration: inherit; /* revoke underline */;"'));
                                                                        print "</td>\n";
                                                                        }
                                                        print '</tr>'."\n";
@@ -90,7 +92,7 @@ our %WebConfig=(
                                        print '</td>'."\n";
                                print '</tr>'."\n";
                        print '</table>'."\n";
-                       print My::Web::vskip("1ex");
+                       print My::Web::vskip("1ex") if !$My::Web::W->{"WebConfig::heading_novskip"};
                        },
                "footing"=>sub () {
 #                      print "<h1>footing</h1>\n";