mirror of https://github.com/luizdepra/hugo-coder.git

tobinjt
20.19.2018 d89edf3e1b31baed524e5866b6d58fdc7dcad5f6
refs
author tobinjt <johntobin@johntobin.ie>
Tuesday, November 20, 2018 19:19 +0100
committer Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
Tuesday, November 20, 2018 19:19 +0100
commitd89edf3e1b31baed524e5866b6d58fdc7dcad5f6
tree 81a5c8056f1f7312d4a64ad97e8dcbae7931ef68 tree | zip | gz
parent e33d2ec88aebdb39838fd7b419041ddfb702db1a view | diff
Add trailing slash to remove redirects. (#112)

* Add trailing slash to remove redirects.

When you request /tags/foo, the web server will redirect you to
/tags/foo/ so the browser needs to make two requests. Add the trailing
slash in the link so that only one request is needed.

* Add trailing slash to remove redirects.

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Add John Tobin.
3 files modified
5 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
layouts/partials/taxonomy/categories.html 2 ●●● diff | view | raw | blame | history
layouts/partials/taxonomy/tags.html 2 ●●● diff | view | raw | blame | history