diff options
author | Alberto González Palomo <bugs@sentido-labs.com> | 2018-01-10 07:19:50 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-01-10 08:19:50 +0200 |
commit | 45c264f681e3f7e1a22a191029836a690959aac3 (patch) | |
tree | db85d9352b85d7e2df33f3bebe782212f9a1f888 /docs/content/doc/advanced/customizing-gitea.en-us.md | |
parent | 88a3bb6d42536d0458b48269b26d821d59055fe2 (diff) | |
download | gitea-45c264f681e3f7e1a22a191029836a690959aac3.tar.gz gitea-45c264f681e3f7e1a22a191029836a690959aac3.zip |
Templates for extra links in top navbar and repo tool tabs. (#3308)
These templates add content to the top navbar
and to the repository page.
This way we do not have to copy and modify the whole
template, and re-modify it after upgrading Gitea if
it changes.
Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
Diffstat (limited to 'docs/content/doc/advanced/customizing-gitea.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/customizing-gitea.en-us.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/customizing-gitea.en-us.md b/docs/content/doc/advanced/customizing-gitea.en-us.md index 5be30740c2..55e47d0203 100644 --- a/docs/content/doc/advanced/customizing-gitea.en-us.md +++ b/docs/content/doc/advanced/customizing-gitea.en-us.md @@ -66,6 +66,8 @@ To add custom HTML to the header or the footer of the page, in the `templates/cu directory there is `header.tmpl` and `footer.tmpl` that can be modified. This can be a useful place to add custom CSS files or additional Javascript. +If all you want is to add extra links to the top navigation bar, or extra tabs to the repository view, you can put them in `extra_links.tmpl` and `extra_tabs.tmpl` inside your `custom/templates/custom/` directory. + ## Customizing gitignores, labels, licenses, locales, and readmes. Place custom files in corresponding sub-folder under `custom/options`. |