Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit 08601f4

Browse files
sztanpetlunny
authored andcommitted
Create a new "Customizing Gitea" page under Advanced (#76) (#79)
* Create a new "Customizing Gitea" page under Advanced For now, the only customization documented is the /robots.txt one. Fixes #66 * Mention to restart Gitea when changing custom/robots.txt
1 parent 7946e86 commit 08601f4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
date: "2017-01-20T16:00:00+02:00"
3+
title: "Customizing Gitea"
4+
slug: "customizing-gitea"
5+
weight: 9
6+
toc: false
7+
draft: false
8+
menu:
9+
sidebar:
10+
parent: "advanced"
11+
name: "Customizing Gitea"
12+
weight: 9
13+
identifier: "customizing-gitea"
14+
---
15+
16+
# Customizing Gitea
17+
18+
The main way to customize Gitea is by using the `custom` folder. This is the central place to override and configure features.
19+
20+
## Customizing /robots.txt
21+
22+
To make Gitea serve your own `/robots.txt` (by default, an empty 404 status is served), simply create a file called `robots.txt` in the `custom` folder with the [expected contents](http://www.robotstxt.org/). **Note** that you have to restart Gitea for it to notice the new `robots.txt`.

0 commit comments

Comments
 (0)