How-to Customize Homepage ? #1227

Closed
opened 2025-11-02 03:53:03 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @ghost on GitHub (Nov 10, 2017).

  • Gitea version (or commit ref): 1.8.3

Description

Hi,

how can I customize my Gitea installation Homepage ? I would like to put the homepage (when user is not logged in) to fit my company style (logo, introduction text, ...).

Regards,

Originally created by @ghost on GitHub (Nov 10, 2017). - Gitea version (or commit ref): 1.8.3 ## Description Hi, how can I customize my Gitea installation Homepage ? I would like to put the homepage (when user is not logged in) to fit my company style (logo, introduction text, ...). Regards,
Author
Owner

@ghost commented on GitHub (Nov 10, 2017):

Ok I found, it's a template to override.

@ghost commented on GitHub (Nov 10, 2017): Ok I found, it's a template to override.
Author
Owner

@thundergreen commented on GitHub (Mar 3, 2018):

Where is this template?

@thundergreen commented on GitHub (Mar 3, 2018): Where is this template?
Author
Owner

@ghost commented on GitHub (Mar 4, 2018):

Hi,

the template needs to be retrieved from the Gitea github repository.

@ghost commented on GitHub (Mar 4, 2018): Hi, the template needs to be retrieved from the Gitea github repository.
Author
Owner

@William-LP commented on GitHub (Jul 23, 2018):

Hi,

So do you need to recompile Gitea after customizing the homepage ?
Or can I just drag & drop my updated files somewhere into the custom folder ?

@William-LP commented on GitHub (Jul 23, 2018): Hi, So do you need to recompile Gitea after customizing the homepage ? Or can I just drag & drop my updated files somewhere into the custom folder ?
Author
Owner

@T100D commented on GitHub (Jul 23, 2018):

@William-LP , you can drop your files in the appropriate folders.

The dark theme has an error in this in the explanation, the files/folders should be in the custom folder and not the main gitea folder.

@T100D commented on GitHub (Jul 23, 2018): @William-LP , you can drop your files in the appropriate folders. The dark theme has an error in this in the explanation, the files/folders should be in the custom folder and not the main gitea folder.
Author
Owner

@William-LP commented on GitHub (Jul 23, 2018):

I'm sorry I feel dumb but I don't manage to update that homepage.

I've updated the file home.tmpl and dragged him into C:/gitea/custom/ folder but I still got the regular homepage after reloading my gitea service.

I'm missing something but I can't figure out what :/

I'd appreciate a bit more details regarding the process to update that homepage :)

EDIT : My bad, I was trying to put the current template folder rather than the 1.4.2 version (the one I'm using), so Gitea was crashing. Now it's all fine :) Thanks again guys!

@William-LP commented on GitHub (Jul 23, 2018): I'm sorry I feel dumb but I don't manage to update that homepage. I've updated the file [home.tmpl](https://github.com/go-gitea/gitea/blob/master/templates/home.tmpl) and dragged him into C:/gitea/custom/ folder but I still got the regular homepage after reloading my gitea service. I'm missing something but I can't figure out what :/ I'd appreciate a bit more details regarding the process to update that homepage :) **EDIT** : My bad, I was trying to put the current template folder rather than the 1.4.2 version (the one I'm using), so Gitea was crashing. Now it's all fine :) Thanks again guys!
Author
Owner

@lafriks commented on GitHub (Jul 23, 2018):

You need to place it in C:/gitea/custom/templates/

@lafriks commented on GitHub (Jul 23, 2018): You need to place it in `C:/gitea/custom/templates/`
Author
Owner

@RivasAlejandro commented on GitHub (Jul 24, 2018):

hi , i can't find the folder templates

@RivasAlejandro commented on GitHub (Jul 24, 2018): hi , i can't find the folder templates
Author
Owner

@lafriks commented on GitHub (Jul 24, 2018):

Ask questions in forum not here, it won't be answered in closed issues

@lafriks commented on GitHub (Jul 24, 2018): Ask questions in forum not here, it won't be answered in closed issues
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1227