Navbar: Fix handling of [home] and [logo] metalinks

Change I556285369 fixed the "[extensions]" meta link from being
literally included in the rendered html, but had the side effect
of breaking the [home] and [logo] metalinks.

Rework the fix, and add tests for [home] and [logo] that would
have caught the regression.

Bug: https://crbug.com/gerrit/11023
Change-Id: I44ecbe64588077b988aa3671ae94884b6b78d71b
2 files changed
tree: 96e59a11c88bdda2fc62e2710a5c8dc644d8b7b2
  1. .bazelrc
  2. .gitignore
  3. .mailmap
  4. .settings/
  5. BUILD
  6. COPYING
  7. Documentation/
  8. README.md
  9. WORKSPACE
  10. fake_pom_deploy.xml
  11. java/
  12. javatests/
  13. lib/
  14. navbar.md
  15. resources/
  16. tools/
  17. version.bzl
README.md

Gitiles - A simple JGit repository browser

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.

Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.

Configuration

Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.

Bugs

Use the issue tracker at github to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.