You are not logged in.

#1 2022-06-19 15:30:48

scossu
Member
Registered: 2018-01-08
Posts: 20

[aur] Gogs customization

Hi,

I asked this question on the  Gogs forum first but received no answer, so I'm hoping to get some hints from the Arch packagers.

I installed Gogs from the AUR: https://aur.archlinux.org/packages/gogs and now I'd like to customize its default theme and logo.

The templating documentation in the Gogs docs specifies the "templates/" and "custom/templates/" directories as the locations to look for, but I cannot find those in the list of files provided by the Arch package. Furthermore, I cannot find any of the CSS and image assets that are served by the Gogs web server in the package files.

Is it possible to modify a template in this kind of setup? Or do I need to work off the source code and deploy the application myself?

Note: I have no knowledge of how Go source code and assets are compiled and packaged. I just want to edit web assets.

Offline

#2 2022-06-19 15:39:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [aur] Gogs customization

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB