Closed
Description
- Gitea version (or commit ref): v1.0.0+34-gac51caa
- Git version: 2.8.3
- Operating system: Linux amd64
- Database (use
[x]
):- PostgreSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Adding a custom template under custom/templates doesn't work.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40471993-custom-templates-doesn-t-work?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).Thomas Boerger @tboerger 14:29
let me check the macaron renderer source
looks like we need to implement a custom TemplateFileSystem because AppendDirectories gets ignored by the bindata based TemplateFileSystem from https://github.com/go-macaron/bindata