diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-15 19:21:34 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-15 19:21:34 +0200 |
commit | 10925e006bf43edc79331fbe601e09a28c43df2b (patch) | |
tree | 815b6efd2197d478f57a425252e6b5d75ab643f6 /templates/navbar.qtpl | |
parent | ce5185f551b707fe8dd8db8b5cbffd46e96cacc0 (diff) | |
download | cerrado-10925e006bf43edc79331fbe601e09a28c43df2b.tar.gz cerrado-10925e006bf43edc79331fbe601e09a28c43df2b.tar.bz2 cerrado-10925e006bf43edc79331fbe601e09a28c43df2b.zip |
fix: Reduce some redirectsv0.0.5
Diffstat (limited to 'templates/navbar.qtpl')
-rw-r--r-- | templates/navbar.qtpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl index 4d2a6a9..9e27961 100644 --- a/templates/navbar.qtpl +++ b/templates/navbar.qtpl @@ -27,11 +27,11 @@ const ( <a class="nav-link{%= insertIfEqual(s, Git) %}" href="/">git</a> {% comment %} Add this back once needed - <a class="nav-link{%= insertIfEqual(s, List) %}" href="/list">list</a> + <a class="nav-link{%= insertIfEqual(s, List) %}" href="/list/">list</a> {% endcomment %} {% comment %} Add this back if needed - <a class="nav-link{%= insertIfEqual(s, About) %}" href="/about">about</a> + <a class="nav-link{%= insertIfEqual(s, About) %}" href="/about/">about</a> {% endcomment %} <a class="nav-link{%= insertIfEqual(s, Config) %}" href="/config">config</a> </div> @@ -45,19 +45,19 @@ Add this back if needed <div class="row"> <ul class="nav"> <li class="nav-item"> - <a class="nav-link{%= insertIfEqual(s, Readme) %}" aria-current="page" href="/{%s name %}/about">about</a> + <a class="nav-link{%= insertIfEqual(s, Readme) %}" aria-current="page" href="/{%s name %}/about/">about</a> </li> <li class="nav-item"> - <a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}">log</a> + <a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}/">log</a> </li> <li class="nav-item"> - <a class="nav-link{%= insertIfEqual(s, Summary) %}" aria-current="page" href="/{%s name %}">summary</a> + <a class="nav-link{%= insertIfEqual(s, Summary) %}" aria-current="page" href="/{%s name %}/">summary</a> </li> <li class="nav-item"> <a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs">refs</a> </li> <li class="nav-item"> - <a class="nav-link{%= insertIfEqual(s, Tree) %}" aria-current="page" href="/{%s name %}/tree/{%s ref %}">tree</a> + <a class="nav-link{%= insertIfEqual(s, Tree) %}" aria-current="page" href="/{%s name %}/tree/{%s ref %}/">tree</a> </li> </ul> </div> |