fix: refine anchor extraction and changelog dates

This commit is contained in:
Justineo
2022-01-19 14:21:05 +08:00
parent 67ab3454ef
commit 9f5d731b68
3 changed files with 26 additions and 2 deletions

View File

@@ -90,7 +90,10 @@
<nuxt-link
:to="`#${getHash(version)}`"
>
{{ version }}<small v-if="codeName">{{ codeName }}</small><small v-if="date">{{ date }}</small>
{{ version }}<small v-if="codeName">{{ codeName }}</small><time
v-if="date"
:datetime="date"
>{{ date }}</time>
</nuxt-link>
</h2>
<ul class="changeset">
@@ -300,8 +303,11 @@ h2
color #333 !important
small
time
display inline-flex
align-items center
small
font-size 14px
&::before
@@ -309,6 +315,16 @@ h2
font-size 20px
margin 0 8px
time
font-size 12px
color #999
&::before
content "/"
font-size 10px
margin 0 8px
color #ccc
.changeset
list-style-type none
padding-left 0