Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mubareksd authored Oct 22, 2023
2 parents 5d8887d + 731cfc9 commit 109e271
Show file tree
Hide file tree
Showing 23 changed files with 215 additions and 131 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Lighthouse-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js 10.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [ubuntu-latest]
hugo_version: ["latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Hugo setup
uses: peaceiris/actions-hugo@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
hugo-version: 'latest'
extended: true
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-algolia-search-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
Expand Down
6 changes: 4 additions & 2 deletions assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,17 @@ function initSearch () {
window._searchDesktopOnce = true
// Turn on the mask when clicking on the search button
searchToggle.addEventListener('click', () => {
loadScript('autocomplete-script', '/lib/autocomplete/autocomplete.min.js', () => initAutosearch())
loadScript('autocomplete-script', '/lib/autocomplete/autocomplete.min.js', () => {
initAutosearch();
searchInput.focus();
})
if (window.config?.search?.type === 'algolia') {
loadScript('algolia-script', '/lib/algoliasearch/algoliasearch-lite.umd.min.js', null)
} else {
loadScript('fuse-script', '/lib/fuse/fuse.min.js', null)
}
document.body.classList.add('blur')
header.classList.add('open')
searchInput.focus()
})
// Clear the search box when clicking on the clear button
searchClear.addEventListener('click', () => {
Expand Down
2 changes: 1 addition & 1 deletion assets/lib/artalk/Artalk.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/artalk/Artalk.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/artalk/ArtalkLite.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/artalk/ArtalkLite.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/twikoo/twikoo.all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/twikoo/twikoo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/waline/waline.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/waline/waline.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": [
{
"name": "twikoo",
"version": "1.6.17",
"version": "1.6.21",
"files": [
{
"remote": "dist/twikoo.all.min.js",
Expand All @@ -17,7 +17,7 @@
},
{
"name": "@waline/client",
"version": "2.15.6",
"version": "2.15.8",
"files": [
{
"remote": "dist/waline.css",
Expand All @@ -31,7 +31,7 @@
},
{
"name": "katex",
"version": "0.16.8",
"version": "0.16.9",
"files": [
{
"remote": "dist/katex.min.js",
Expand Down Expand Up @@ -71,7 +71,7 @@
},
{
"name": "artalk",
"version": "2.5.5",
"version": "2.6.3",
"files": [
{
"remote": "dist/Artalk.js",
Expand Down
105 changes: 83 additions & 22 deletions i18n/tr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
other = "Başa Dön"

[viewComments]
other = "Yorumları Gör"
other = "Yorumları Görüntüle"
# === baseof ==

# === Post ===
Expand All @@ -17,7 +17,7 @@ other = "İçerikler"

# === Taxonomy ===
[allSome]
other = "All {{ .Some }}"
other = "Tüm {{ .Some }}"

[tag]
other = "Etiket"
Expand All @@ -30,44 +30,71 @@ other = "Kategori"

[categories]
other = "Kategoriler"

[series]
other = "Seri"
# === Taxonomy ===

# === Section ===

[recentlyUpdated]
other = "Yakın Zamanada Güncellendi"

# === Section ===

# === Pagination ===
[more]
other = "Daha fazla"
# === Pagination ===

# === partials/header.html ===
[selectLanguage]
other = "Dil Seç"
other = "Dil Seçin"

[switchTheme]
other = "Switch Theme"
other = "Temayı Değiştirin"

[Light]
other = "Aydınlık"

[Dark]
other = "Karanlık"

[Black]
other = "Siyah"

[Auto]
other = "Oto"
# === partials/header.html ===

# === partials/footer.html ===
[poweredBySome]
other = "{{ .Hugo }} ile yapıldı | Tema - {{ .Theme }}"
[poweredBy]
other = "{{ .Hugo }} tarafından desteklenir"

[hostedOn]
other = "Hosted on {{ .Host }}"

[theme]
other = "Tema - {{ .Theme }}"
# === partials/footer.html ===

# === partials/comment.html ===
[valineLang]
other = "en"
other = "tr"

[valinePlaceholder]
other = "Yorumun..."
other = "yorumunuz ..."

[facebookLanguageCode]
other = "tr_TR"

# === partials/comment.html ===

# === partials/assets.html ===
[search]
other = "Arama"
other = "Ara"

[searchPlaceholder]
other = "Başlık yada içerik arama..."
other = "Başlık veya İçerik arayın..."

[clear]
other = "Temizle"
Expand All @@ -82,10 +109,10 @@ other = "Sonuç bulunamadı"
other = "Panoya kopyala"

[cookieconsentMessage]
other = "Bu websitesi deneyiminizi iyileştirmek için çerezleri kullanmaktadır."
other = "Bu websitesi deneyiminizi geliştirmek için Çerezleri kullanır."

[cookieconsentDismiss]
other = "Anladım!"
other = "Anladım"

[cookieconsentLink]
other = "Daha fazla öğren"
Expand All @@ -98,33 +125,55 @@ other = "Şurada Paylaş"

# === posts/single.html ===
[contents]
other = "İçerikler"
other = "İçindekiler"

[publishedOnDate]
other = "{{ .Date }} tarihinde paylaşıldı"
other = "{{ .Date }} Tarihinde yayınlandı"

[includedIn]
other = "kapsar "

[includedInAnd]
other = "ve"

[includedInCategories]
other = "{{ .Categories }} kategorileri içinde"
one = "Kategori {{ .Categories }}"
other = "{{ .Categories }} Kategorileri içinde"

[includedInSeries]
other = "seri {{ .Series }}"

[wordCount]
one = "Bir kelime"
other = "{{ .Count }} kelime"

[readingTime]
one = "One minute"
other = "{{ .Count }} minutes"
other = "{{ .Count }} dakika"

[views]
other = "görüntülenme"

[comments]
other = "yorumlar"

[author]
other = "Yazar"

[updatedOnDate]
other = "{{ .Date }} tarihinde güncellendi"
other = "{{ .Date }} Tarihinde güncellendi"

[readMarkdown]
other = "Markdown Oku"
other = "Markdown oku"

[viewSource]
other = "Kaynağı görüntüle"

[editThisPage]
other = "Sayfayı düzenle"

[reportThisPage]
other = "Sorun bildir"

[back]
other = "Geri"
Expand All @@ -133,23 +182,35 @@ other = "Geri"
other = "Anasayfa"

[readMore]
other = "Daha fazla oku"
other = "Devam et..."

[outdatedInfoWarningBefore]
other = "İçeriğin son güncellendiği tarih "

[outdatedInfoWarningAfter]
other = ", içerik güncel olmayabilir."

[sponsor]
other = "Sponsor"

[relatedContent]
other = "İlgili içerik"
# === posts/single.html ===

# === 404.html ===
[pageNotFound]
other = "Sayfa Bulunamadı"

[pageNotFoundText]
other = "Aradığınız sayfa bulunamadı. Üzgünüz."
other = "Aradığınız sayfa mevcut değil. Üzgünüz."
# === 404.html ===

# === shortcodes/admonition.html ===
[note]
other = "Not"

[abstract]
other = "Öz"
other = "Özet"

[info]
other = "Bilgi"
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{- /* Posts */ -}}
{{- if ne $posts.enable false | and .Site.RegularPages -}}
{{- /* Paginate */ -}}
{{- $pages := where .Site.RegularPages "Type" "posts" -}}
{{- $pages := where .Site.RegularPages "Type" "in" site.Params.mainSections -}}
{{- if .Site.Params.page.hiddenFromHomePage -}}
{{- $pages = where $pages "Params.hiddenfromhomepage" false -}}
{{- else -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{- range where .Site.RegularPages "Type" "posts" | first (.Site.Params.home.rss | default 10) -}}
{{- range where .Site.RegularPages "Type" "in" site.Params.mainSections | first (.Site.Params.home.rss | default 10) -}}
{{- dict "Page" . "Site" .Site | partial "rss/item.html" -}}
{{- end -}}
</channel>
Expand Down
Loading

0 comments on commit 109e271

Please sign in to comment.