mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Implement support for alias templates
This change adds a canonical alias.html template that is used for page redirects, and passes the page as data to the template under .Page Fixes #2533 Closes #2576
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
8b43d39ef3
commit
10a773cde7
@@ -71,4 +71,6 @@ Used to render the XML sitemap
|
||||
### [404](/templates/404/)
|
||||
This template will create a 404.html page used when hosting on GitHub Pages
|
||||
|
||||
### [Alias](/extras/aliases/#customizing)
|
||||
This template will override the default page used to create aliases of pages.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user