From ce5185f551b707fe8dd8db8b5cbffd46e96cacc0 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 15 Jun 2024 19:07:14 +0200 Subject: feat: Add per repository about page --- templates/gititemabout.qtpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/gititemabout.qtpl') diff --git a/templates/gititemabout.qtpl b/templates/gititemabout.qtpl index abda2fb..da9c2e9 100644 --- a/templates/gititemabout.qtpl +++ b/templates/gititemabout.qtpl @@ -1,10 +1,13 @@ {% code type GitItemAboutPage struct { + About []byte } %} {% func (g *GitItemAboutPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Readme) %}{% endfunc %} {% func (g *GitItemAboutPage) GitContent(name, ref string) %} -

About

+
+{%z= g.About %} +
{% endfunc %} -- cgit v1.2.3