mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] source code url: GIT_URL + '/tree/' + GIT_BRANCH
The link 'Source code' in the footer should link to the branch URL:
GIT_URL + '/tree/' + GIT_BRANCH
This URL fits at least for github and gitlab.
BTW clear the naming and replace:
- `searx_git_url` and `searx_git_branch` by `GIT_URL` and `GIT_BRANCH`
- 'searx_version' by 'searxng_version'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
2455f1d06a
commit
3e9fc7934f
4 changed files with 12 additions and 12 deletions
|
|
@ -6,10 +6,10 @@
|
|||
<textarea name="body" class="issue-hide">{{- '' -}}
|
||||
|
||||
**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**
|
||||
{% if searx_git_url and searx_git_url != 'unknow' %}
|
||||
Repository: {{ searx_git_url }}
|
||||
Branch: {{ searx_git_branch }}
|
||||
Version: {{ searx_version }}
|
||||
{% if GIT_URL and GIT_URL != 'unknow' %}
|
||||
Repository: {{ GIT_URL }}
|
||||
Branch: {{ GIT_BRANCH }}
|
||||
Version: {{ searxng_version }}
|
||||
<!-- Check if these values are correct -->
|
||||
|
||||
{% else %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue