mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
feat: only show the commit URL if it's not empty on /about
This commit is contained in:
parent
f0fe91172f
commit
6eb1f25a53
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@
|
|||
<h3>Miniflux</h3>
|
||||
<ul>
|
||||
<li><strong>{{ t "page.about.version" }}</strong> <a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a></li>
|
||||
{{ if .commit }}
|
||||
<li><strong>Git Commit</strong> <a href="https://github.com/miniflux/v2/commit/{{ .commit }}">{{ .commit }}</a></li>
|
||||
{{ end }}
|
||||
<li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
|
||||
{{ if .user.IsAdmin }}<li><strong>{{ t "page.about.postgres_version" }}</strong> {{ .postgres_version }}</li>{{ end }}
|
||||
<li><strong>{{t "page.about.go_version" }}</strong> {{ .go_version }}</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue