Closed
Description
- Gitea version (or commit ref): v1.1.2
- Git version: 2.11.0
- Operating system: Ubuntu 17.04
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist: None
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