summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@users.noreply.github.com>2017-12-02 19:26:06 -0500
committerLauris BH <lauris@nix.lv>2017-12-03 02:26:06 +0200
commitb0971ae37c255ea219c07489bc66809caa1094ef (patch)
tree2f0b8f86becc90182cdfaeea535f4297d8aa0ce2 /docs
parent4947cfb7b07570b8c94c2f6ba734c785bd3f2829 (diff)
downloadgitea-b0971ae37c255ea219c07489bc66809caa1094ef.tar.gz
gitea-b0971ae37c255ea219c07489bc66809caa1094ef.zip
Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/customizing-gitea.en-us.md2
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 4fdf43770a..8c861757ff 100644
--- a/docs/content/doc/advanced/customizing-gitea.en-us.md
+++ b/docs/content/doc/advanced/customizing-gitea.en-us.md
@@ -49,6 +49,8 @@ When you find the correct .tmpl file, you need to copy it in the `custom/templat
You can now customize the template you copied in `custom/templates`, being carefully to not break the Gitea syntax.
Any statement contained inside `{{` and `}}` are Gitea templete's syntax and shouldn't be touch, unless you know what are you doing.
+To add in custom HTML to the header or the footer of the page, in the `templates/custom` directory there are `header.tmpl` and `footer.tmpl` that can be modified. This is useful if you want to add in custom CSS files, or additional Javascript.
+
## Customizing gitignores, labels, licenses, locales, and readmes.
Place your own files in corresponding sub-folder under `custom/options`. \ No newline at end of file