diff options
Diffstat (limited to 'internal/templates')
| -rw-r--r-- | internal/templates/tags.gohtml | 3 | ||||
| -rw-r--r-- | internal/templates/templates.go | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/internal/templates/tags.gohtml b/internal/templates/tags.gohtml index b2ee680..99794a7 100644 --- a/internal/templates/tags.gohtml +++ b/internal/templates/tags.gohtml @@ -54,6 +54,9 @@ {{- define "body" -}} <h1>Tags</h1> +{{- if .UnreleasedHref}} +<p><a href="{{.UnreleasedHref}}">Unreleased changes</a></p> +{{- end}} <div class="tags"> {{- if .Tags}} {{- range .Tags}} diff --git a/internal/templates/templates.go b/internal/templates/templates.go index 734a150..ae60a56 100644 --- a/internal/templates/templates.go +++ b/internal/templates/templates.go @@ -140,7 +140,8 @@ type BranchEntry struct { type TagsParams struct { LayoutParams - Tags []TagEntry + Tags []TagEntry + UnreleasedHref string } type TagEntry struct { |
