Skip to content

Commit

Permalink
Added titles to the header and footer links
Browse files Browse the repository at this point in the history
  • Loading branch information
Clinton Gormley committed Sep 7, 2011
1 parent de82237 commit 83d2378
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
15 changes: 11 additions & 4 deletions root/templates/wrapper/footer.html
@@ -1,17 +1,24 @@
<ul id = "footer" class="navbar">
<li>
<a href = "https://github.com/CPAN-API/cpan-api/wiki/Beta-API-docs">API</a>
<a href = "https://github.com/CPAN-API/cpan-api/wiki/Beta-API-docs"
title = "Docs for the MetaCPAN API"
>API</a>
</li>
<li>
<a href = "/about/resources">About MetaCPAN</a>
<a href = "/about/resources"
title = "About MetaCPAN"
>About MetaCPAN</a>
</li>
<li>
<a href = "https://github.com/CPAN-API/metacpan-web">Fork metacpan.org</a>
<a href = "https://github.com/CPAN-API/metacpan-web"
title = "Fork MetaCPAN on GitHub"
>Fork metacpan.org</a>
</li>
</ul>
<div id = "hosting">
Hosting generously sponsored by
<a href="http://speedchilli.com">speedchilli</a> <br />
<a href="http://speedchilli.com">speedchilli</a>
<br />
<a href="http://speedchilli.com">
<img src="/static/images/speedchilli.png" alt="SpeedChilli.com">
</a>
Expand Down
15 changes: 7 additions & 8 deletions root/templates/wrapper/header.html
@@ -1,11 +1,10 @@
<%-
menu = [
{ title = "Home", path = ["/", "/search"] },
{ title = "Recent", path = ["/recent"] },
{ title = "Mirrors", path = ["/mirrors"] },
{ title = "News", path = ["http://blogs.perl.org/users/mo/"]},
{ title = "FAQ", path = ["https://github.com/CPAN-API/cpan-api/wiki/FAQ"] },
{ title = "Feedback", path = ["https://github.com/CPAN-API/metacpan-web/issues"] },
{ name = "Home", title = "MetaCPAN home page" path = ["/", "/search"] },
{ name = "Recent", title = "Recent releases" path = ["/recent"] },
{ name = "Mirrors", title = "CPAN mirrors" path = ["/mirrors"] },
{ name = "News", title = "Recent changes to MetaCPAN" path = ["http://blogs.perl.org/users/mo/"]},
{ name = "FAQ", title = "FAQ" path = ["https://github.com/CPAN-API/cpan-api/wiki/FAQ"] },
]
%>

Expand All @@ -29,8 +28,8 @@
) | none
%>
>
<a href = "<% item.path.0 %>">
<% item.title %>
<a href = "<% item.path.0 %>" title = "<% item.title %>">
<% item.name %>
</a>
</li>
<% END %>
Expand Down

0 comments on commit 83d2378

Please sign in to comment.