fix: package links should end in /

This commit is contained in:
neil 2022-10-14 12:20:35 +08:00
parent 6d1bb9b1d8
commit 788b2bc3cf
2 changed files with 2 additions and 2 deletions

View file

@ -36,6 +36,6 @@
</style>
<a href="/packages/{{- .name -}}">
<a href="/packages/{{- .name -}}/">
<button class="detail-btn"><i class="icon-enter-arrow"></i>details</button>
</a>

View file

@ -22,7 +22,7 @@
{{- partial "detail-btn.html" . -}}
</div>
<div class="card-body thumbnail-body-mobile">
<a href="/packages/{{- .name -}}">
<a href="/packages/{{- .name -}}/">
<button class="detail-btn-mobile"><i class="icon-enter-arrow"></i>details</button>
</a>
</div>