Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lxndrblz/anatole
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Nov 26, 2022
2 parents 800b13d + b2faf30 commit bc32bee
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 5 deletions.
10 changes: 7 additions & 3 deletions i18n/fa.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ other = "دسته‌بندی"
other = "برچسب"

[reading_time]
one = "یک دقیقه زبان برای مطالعه"
other = "{{ .Count }}-دقیقه زمان باقی مانده است"
one = "یک دقیقه زمان مطالعه"
other = "{{ .Count }}-دقیقه زمان مطالعه"

[old_content_warning]
one = "اخطار: این پست بیش از {{ .Count }} روز سن دارد. اطلاعات پست ممکن است بروز نباشد."
other = "اخطار: این پست بیش از {{ .Count }} روز سن دارد. اطلاعات پست ممکن است بروز نباشد."

[page_not_found]
other = "صفحه پیدا نشد"
Expand Down Expand Up @@ -45,4 +49,4 @@ other = "درباره"
other = "به روز رسانی"

[series_posts]
other = "پست های این مجموعه"
other = "پست های این مجموعه"
52 changes: 52 additions & 0 deletions i18n/tr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[category]
other = "Kategori"

[tag]
other = "Etiket"

[reading_time]
one = "Bir dakikalık okuma"
other = "{{ .Count }}-dakikalık okuma"

[old_content_warning]
one = "Uyarı: Bu gönderi en fazla {{ .Count }} gün eski. Bilgiler eski olabilir."
other = "Uyarı: Bu gönderi en fazla {{ .Count }} gün eski. Bilgiler eski olabilir."

[page_not_found]
other = "Sayfa bulunamadı"

[page_does_not_exist]
other = "Üzgünüz, bu sayfa mevcut değil."

[head_back]
other = "<a href=\"{{ . }}\">ana sayfaya</a> geri dönebilirsiniz."

[comments]
other = "Yorumlar"

[send]
other = "gönder"

[read_more]
other = "Devamını oku"

[name]
other = "Isim"

[email]
other = "e-posta"

[message]
other = "Mesaj"

[warning]
other = "Uyarı"

[info]
other = "Bilgi"

[update]
other = "Güncelleme"

[series_posts]
other = "Bu serideki gönderiler"
3 changes: 1 addition & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ <h1>{{ title .Title }}</h1>
{{- partial "expirationnote.html" . -}}

{{- if (eq .Params.toc true) -}}
<h3>Table of Contents</h3>
{{ .TableOfContents }}
{{- partial "toc.html" . -}}
{{- end -}}

{{ .Content }}
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/toc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h3>Table of Contents</h3>
{{ .TableOfContents }}

0 comments on commit bc32bee

Please sign in to comment.