Skip to content

Commit

Permalink
style: improve SEO of read more buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 3, 2023
1 parent f157ca1 commit e74aae4
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "On this page"

[read_more]
other = "Read more"
[read_more_about]
other = "Read more about {{ . }}."

[reading_time]
other = "{{ .Count }} min read"
4 changes: 2 additions & 2 deletions i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "En esta página"

[read_more]
other = "Leer más"
[read_more_about]
other = "Leer más sobre {{ . }}."

[reading_time]
other = "{{ .Count }} minutos de lectura"
4 changes: 2 additions & 2 deletions i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "Sommaire"

[read_more]
other = "Lire la suite"
[read_more_about]
other = "En savoir plus sur {{ . }}."

[reading_time]
other = "{{ .Count }} minutes de lecture"
4 changes: 2 additions & 2 deletions i18n/ko.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "목차"

[read_more]
other = "자세한 내용 보기"
[read_more_about]
other = "{{ . }}에 대한 자세한 내용 보기"

[reading_time]
other = "읽는 데에 {{ .Count }}분"
4 changes: 2 additions & 2 deletions i18n/ms.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "Dalam halaman ini"

[read_more]
other = "Baca lebih lanjut"
[read_more_about]
other = "baca lebih mengenai {{ . }}."

[reading_time]
other = "{{ .Count }} minit bacaan"
4 changes: 2 additions & 2 deletions i18n/pt-br.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "Nesta página"

[read_more]
other = "Leia mais"
[read_more_about]
other = "Leia mais sobre {{ . }}."

[reading_time]
one = "{{ .Count }} minuto de leitura"
Expand Down
4 changes: 2 additions & 2 deletions i18n/ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "Posts"
[on_this_page]
other = "На этой странице"

[read_more]
other = "Читать далее"
[read_more_about]
other = "Подробнее о {{ . }}."

[reading_time]
other = "Читается за {{ .Count }} мин."
4 changes: 2 additions & 2 deletions i18n/zh-hans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "文章"
[on_this_page]
other = "本页内容"

[read_more]
other = "阅读全文"
[read_more_about]
other = "阅读更多关于{{ . }}的内容。"

[reading_time]
other = "{{ .Count }} 分钟阅读"
4 changes: 2 additions & 2 deletions i18n/zh-hant.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ other = "文章"
[on_this_page]
other = "本頁內容"

[read_more]
other = "閱讀全文"
[read_more_about]
other = "閱讀更多關於{{ . }}的內容。"

[reading_time]
other = "{{ .Count }} 分鐘閱讀"
4 changes: 2 additions & 2 deletions layouts/partials/hb/modules/blog/post/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
{{- if and $readMore $truncated }}
<div class="mt-2">
<a
class="btn btn-sm btn-outline-secondary" href="{{ $page.RelPermalink }}">
{{- "read_more" | i18n -}}
class="text-secondary" href="{{ $page.RelPermalink }}">
{{- i18n "read_more_about" $page.Title -}}
</a>
</div>
{{- end }}
Expand Down

0 comments on commit e74aae4

Please sign in to comment.