diff options
author | techknowlogick <hello@techknowlogick.com> | 2018-11-04 21:21:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-04 21:21:56 -0500 |
commit | 92fb89f6e1a10d8431de536823a0680af417a04f (patch) | |
tree | 397a95df245e40df4790a3a796a08588b630b036 /docs/content/doc/advanced/customizing-gitea.en-us.md | |
parent | 0fd56a71e42be5b42ea9656de7a5daade26ad057 (diff) | |
download | gitea-92fb89f6e1a10d8431de536823a0680af417a04f.tar.gz gitea-92fb89f6e1a10d8431de536823a0680af417a04f.zip |
Clean up docs (#5274)
* make docs more clear
* make docs more clear
* Add analytics
* Update customizing-gitea.en-us.md
* Update app.ini.sample
Diffstat (limited to 'docs/content/doc/advanced/customizing-gitea.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/customizing-gitea.en-us.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/customizing-gitea.en-us.md b/docs/content/doc/advanced/customizing-gitea.en-us.md index fed48ca988..7c8b683da5 100644 --- a/docs/content/doc/advanced/customizing-gitea.en-us.md +++ b/docs/content/doc/advanced/customizing-gitea.en-us.md @@ -88,10 +88,14 @@ Apart from `extra_links.tmpl` and `extra_tabs.tmpl`, there are other useful temp - `body_outer_post.tmpl`, before the bottom `<footer>` element. - `footer.tmpl`, right before the end of the `<body>` tag, a good place for additional Javascript. +## Adding Analytics to Gitea + +Google Analytics, Matomo (previously Piwik), and other analytics services can be added to Gitea. To add the tracking code, refer to the `Other additions to the page` section of this document, and add the JavaScript to the `custom/templates/custom/header.tmpl` file. + ## Customizing gitignores, labels, licenses, locales, and readmes. Place custom files in corresponding sub-folder under `custom/options`. ## Customizing the look of Gitea -Gitea has two built-in themes, the default theme `gitea`, and a dark theme `arc-green`. To change the look of your Gitea install change the value of `DEFAULT_THEME` in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini` to another one of the available options. +As of version 1.6.0 Gitea has built-in themes. The two built-in themes are, the default theme `gitea`, and a dark theme `arc-green`. To change the look of your Gitea install change the value of `DEFAULT_THEME` in the [ui](https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui) section of `app.ini` to another one of the available options. |