refactor: add Page suffix to page templates
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M templates/file.go → templates/file.go
@@ -7,8 +7,8 @@ g "go.alanpearce.eu/gomponents" . "go.alanpearce.eu/gomponents/html" ) -// File renders a file view page -func File(data PageData, chroma bool) g.Node { +// FilePage renders a file view page +func FilePage(data PageData, chroma bool) g.Node { return Page(data, []g.Node{ RepoHeader(data), RenderNav(data),