You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
I want to change the headers in a docker installed version. If I add head.tmpl in templates/base in the data file, then the deployment fails (gives an error that {{basecommit}} cannot be found.
I tried to paste the commit name instead in the head.tmpl, it builds, but some css seem to be missing as the page does not look good (no column, centering not working,...).
Describe the solution you'd like
I think the best way would be to get a header.tmpl with the body included in head.tmpl at the moment (?). (changing the footer.tmpl works fine).
Describe alternatives you've considered
Additional context
gin-web:live is run via docker, I tried to add the head.tmpl I found here, maybe they are not equivalent, but I could not find a way to test that, as I do not know where the gin-web:live version is... Maybe worth using the release feature of github if different version are in dockers ?
The text was updated successfully, but these errors were encountered:
Changing templates isn't something I'd be keen on doing. I would like even the GIN modifications to be reverted in the repository and added externally through the custom/ directory.
Where is {{basecommit}} coming from? I'm searching for it in the templates but there's nothing like that.
That would indeed be great, easier to change then. The header you can inject is in the not in the of the template, so it might need some adjustment in gogs to be able to do that (as I cannot do it here).
Describe the feature
I want to change the headers in a docker installed version. If I add head.tmpl in templates/base in the data file, then the deployment fails (gives an error that {{basecommit}} cannot be found.
I tried to paste the commit name instead in the head.tmpl, it builds, but some css seem to be missing as the page does not look good (no column, centering not working,...).
Describe the solution you'd like
I think the best way would be to get a header.tmpl with the body included in head.tmpl at the moment (?). (changing the footer.tmpl works fine).
Describe alternatives you've considered
Additional context
gin-web:live is run via docker, I tried to add the head.tmpl I found here, maybe they are not equivalent, but I could not find a way to test that, as I do not know where the gin-web:live version is... Maybe worth using the release feature of github if different version are in dockers ?
The text was updated successfully, but these errors were encountered: