diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-15 19:07:14 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-15 19:07:14 +0200 |
commit | ce5185f551b707fe8dd8db8b5cbffd46e96cacc0 (patch) | |
tree | b4b83a117a7c479589cfce022011e725e24529e8 /templates/gititemabout.qtpl | |
parent | b71c6c0e5b8dd00d44e40ac0551902a23cbe19d5 (diff) | |
download | cerrado-ce5185f551b707fe8dd8db8b5cbffd46e96cacc0.tar.gz cerrado-ce5185f551b707fe8dd8db8b5cbffd46e96cacc0.tar.bz2 cerrado-ce5185f551b707fe8dd8db8b5cbffd46e96cacc0.zip |
feat: Add per repository about page
Diffstat (limited to 'templates/gititemabout.qtpl')
-rw-r--r-- | templates/gititemabout.qtpl | 5 |
1 files changed, 4 insertions, 1 deletions
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) %} -<h4>About</h4> +<div class="m-2"> +{%z= g.About %} +</div> {% endfunc %} |