G-Node / G-Node/gogs

move headers <body> outside of head.tmpl

Open
#109 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
15
PR merge metrics
No merged PRs in 30d

Description

**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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.