Make the changelog repo-aware

This commit is contained in:
Travis Ralston 2022-05-05 15:44:51 -06:00
parent 8cd7deacd3
commit 6c7ff31dae

View file

@ -25,7 +25,7 @@
{{ if ne $status "unstable" }}
<table class="release-info">
<tr><th>Git commit</th><td><a href="https://github.com/matrix-org/matrix-doc/tree/{{ $release_tag }}">https://github.com/matrix-org/matrix-doc/tree/{{ $release_tag }}</a></td>
<tr><th>Git commit</th><td><a href="https://github.com/matrix-org/matrix-spec/tree/{{ $release_tag }}">https://github.com/matrix-org/matrix-spec/tree/{{ $release_tag }}</a></td>
<tr><th>Release date</th><td>{{ .Site.Params.version.release_date }}</td>
</table>
{{ end }}
@ -79,7 +79,12 @@
<li>{{.name | safeHTML}}
<p><ul>
{{ range $changes_of_type }}
<!-- TODO: TravisR: Remove after v1.3 release and just use matrix-spec links -->
{{ if gt .ticket 3000 }}
<li><a href="https://github.com/matrix-org/matrix-doc/issues/{{.ticket}}"><strong>{{ .ticket }}: </strong></a>{{ .description | markdownify }}</li>
{{ else }}
<li><a href="https://github.com/matrix-org/matrix-spec/issues/{{.ticket}}"><strong>{{ .ticket }}: </strong></a>{{ .description | markdownify }}</li>
{{ end }}
{{ end }}
</ul></p>
</li>