-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Routing / new Pages?! #2115
Comments
Probably this could be created adding new reserved name |
After #3308 "Templates for extra links in top navbar and repo tool tabs." you can do this by placing your extra sites/pages under your "custom/public/" directory (for instance To match the current style, the link should have class name "item": |
That should be added to docs |
Hi, I've added that information to the docs and also listed all the other template hooks at the PR "Improve documentation about custom templates. #3345" |
Sounds good. Im closing this issue now |
[x]
):Description
Is there any way to create custom pages with the templating engine and custom routes?
Here in germany, we need at least two custom sites (imprint and privacy policy) and it would be great, if i could create this two sites in the custom directory.
The template files can already be created in custom/templates but how do i define the routing?
It looks like the routing is made in go files in the routers directory? That means i would have to edit the source files? (And updates would destroy my changes?)
Screenshots
None
The text was updated successfully, but these errors were encountered: