You've already forked explain.depesz.com
mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-07-17 01:42:34 +02:00
add about link
This commit is contained in:
@ -51,7 +51,21 @@
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
% for my $item ( qw( new-explain history help contact ) ) {
|
||||
% for my $item ( qw( new-explain history help ) ) {
|
||||
<li class="item item-<%= $item %>">
|
||||
% my $name = $item;
|
||||
% $name =~ s/\-/ /;
|
||||
% if ( $self->match->endpoint->name eq $item ) {
|
||||
<span><%= $name =%></span>
|
||||
% } else {
|
||||
<a href="<%= url_for $item %>" title="link to: <%= $name %>" rel="permalink"><%= $name =%></a>
|
||||
% }
|
||||
</li>
|
||||
% }
|
||||
<li class="item item-about">
|
||||
<a href="http://www.depesz.com/index.php/tag/explaindepeszcom/" title="about explain.depesz.com" rel="permalink">about</a>
|
||||
</li>
|
||||
% for my $item ( qw( contact ) ) {
|
||||
<li class="item item-<%= $item %>">
|
||||
% my $name = $item;
|
||||
% $name =~ s/\-/ /;
|
||||
|
Reference in New Issue
Block a user