all repos — elgit @ 3a8e212766605bcd04ac893360f126a9bba54f56

fork of legit: web frontend for git, written in go

refactor: add Page suffix to page templates

Alan Pearce
commit

3a8e212766605bcd04ac893360f126a9bba54f56

parent

6a7024290eab538e85a9f68fe88864953926158e

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M templates/file.gotemplates/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),