Merge branch 'main' into fix-search-matches
This commit is contained in:
commit
8c40e373d4
15 changed files with 568 additions and 461 deletions
16
.github/workflows/enforce-lablel.yml
vendored
Normal file
16
.github/workflows/enforce-lablel.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Label Enforcer
|
||||||
|
|
||||||
|
# Run action on pull request creation, reopening, or label changes
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, labeled, unlabeled]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# Ensure that PR has desired labels
|
||||||
|
enforce-label:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: yogevbd/enforce-label-action@2.2.2
|
||||||
|
with:
|
||||||
|
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
||||||
|
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
9
.github/workflows/pull-request.yml
vendored
9
.github/workflows/pull-request.yml
vendored
|
@ -73,15 +73,6 @@ jobs:
|
||||||
timeout: 5
|
timeout: 5
|
||||||
urls: "${{ steps.preview.outputs.url }},${{ steps.preview.outputs.url }}/posts/,${{ steps.preview.outputs.url }}/posts/markdown-sample/,${{ steps.preview.outputs.url }}/posts/shortcodes/"
|
urls: "${{ steps.preview.outputs.url }},${{ steps.preview.outputs.url }}/posts/,${{ steps.preview.outputs.url }}/posts/markdown-sample/,${{ steps.preview.outputs.url }}/posts/shortcodes/"
|
||||||
|
|
||||||
# Ensure that PR has desired labels
|
|
||||||
enforce-label:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: yogevbd/enforce-label-action@2.2.2
|
|
||||||
with:
|
|
||||||
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
|
||||||
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
|
||||||
|
|
||||||
# Check for any broken links
|
# Check for any broken links
|
||||||
markdown-link-check:
|
markdown-link-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -64,6 +64,7 @@ For more details about the features please visit [here](https://toha-guides.netl
|
||||||
- русский
|
- русский
|
||||||
- suomi
|
- suomi
|
||||||
- Tiếng Việt
|
- Tiếng Việt
|
||||||
|
- Azerbaijan
|
||||||
- Turkish
|
- Turkish
|
||||||
- Arabic (العربية)
|
- Arabic (العربية)
|
||||||
- Português Europeu
|
- Português Europeu
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-body {
|
.card-body {
|
||||||
text-align: justify;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-img-top {
|
.card-img-top {
|
||||||
|
|
|
@ -12,7 +12,7 @@ strong {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
color: get-light-color('text-color');
|
color: get-light-color('text-color');
|
||||||
text-align: justify;
|
text-align: left;
|
||||||
text-justify: inter-word;
|
text-justify: inter-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
flags:
|
flags:
|
||||||
styles:
|
styles:
|
||||||
- flag-icon-css/css/flag-icons
|
- flag-icons/css/flag-icons
|
||||||
|
|
||||||
videoplayer:
|
videoplayer:
|
||||||
services:
|
services:
|
||||||
|
|
|
@ -22,7 +22,7 @@ module:
|
||||||
mounts:
|
mounts:
|
||||||
- source: static/files
|
- source: static/files
|
||||||
target: static/files
|
target: static/files
|
||||||
- source: ./node_modules/flag-icon-css/flags
|
- source: ./node_modules/flag-icons/flags
|
||||||
target: static/flags
|
target: static/flags
|
||||||
- source: ./node_modules/@fontsource/mulish/files
|
- source: ./node_modules/@fontsource/mulish/files
|
||||||
target: static/files
|
target: static/files
|
||||||
|
|
14
exampleSite/package-lock.json
generated
14
exampleSite/package-lock.json
generated
|
@ -21,7 +21,7 @@
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"feather-icons": "^4.29.1",
|
"feather-icons": "^4.29.1",
|
||||||
"filterizr": "^2.2.4",
|
"filterizr": "^2.2.4",
|
||||||
"flag-icon-css": "^4.1.7",
|
"flag-icons": "^7.2.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"highlight.js": "^11.6.0",
|
"highlight.js": "^11.6.0",
|
||||||
"imagesloaded": "^5.0.0",
|
"imagesloaded": "^5.0.0",
|
||||||
|
@ -2033,12 +2033,12 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/flag-icon-css": {
|
"node_modules/flag-icons": {
|
||||||
"version": "4.1.7",
|
"version": "7.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-4.1.7.tgz",
|
"resolved": "https://registry.npmjs.org/flag-icons/-/flag-icons-7.2.3.tgz",
|
||||||
"integrity": "sha512-AFjSU+fv98XbU0vnTQ32vcLj89UEr1MhwDFcooQv14qWJCjg9fGZzfh9BVyDhAhIOZW/pGmJmq38RqpgPaeybQ==",
|
"integrity": "sha512-X2gUdteNuqdNqob2KKTJTS+ZCvyWeLCtDz9Ty8uJP17Y4o82Y+U/Vd4JNrdwTAjagYsRznOn9DZ+E/Q52qbmqg==",
|
||||||
"deprecated": "The project has been renamed to flag-icons",
|
"dev": true,
|
||||||
"dev": true
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/flat-cache": {
|
"node_modules/flat-cache": {
|
||||||
"version": "3.2.0",
|
"version": "3.2.0",
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"eslint-plugin-promise": "github.com/hugo-toha/toha/v4",
|
"eslint-plugin-promise": "github.com/hugo-toha/toha/v4",
|
||||||
"feather-icons": "github.com/hugo-toha/toha/v4",
|
"feather-icons": "github.com/hugo-toha/toha/v4",
|
||||||
"filterizr": "github.com/hugo-toha/toha/v4",
|
"filterizr": "github.com/hugo-toha/toha/v4",
|
||||||
"flag-icon-css": "github.com/hugo-toha/toha/v4",
|
"flag-icons": "github.com/hugo-toha/toha/v4",
|
||||||
"fuse.js": "github.com/hugo-toha/toha/v4",
|
"fuse.js": "github.com/hugo-toha/toha/v4",
|
||||||
"highlight.js": "github.com/hugo-toha/toha/v4",
|
"highlight.js": "github.com/hugo-toha/toha/v4",
|
||||||
"imagesloaded": "github.com/hugo-toha/toha/v4",
|
"imagesloaded": "github.com/hugo-toha/toha/v4",
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"feather-icons": "^4.29.1",
|
"feather-icons": "^4.29.1",
|
||||||
"filterizr": "^2.2.4",
|
"filterizr": "^2.2.4",
|
||||||
"flag-icon-css": "^4.1.7",
|
"flag-icons": "^7.2.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"highlight.js": "^11.6.0",
|
"highlight.js": "^11.6.0",
|
||||||
"imagesloaded": "^5.0.0",
|
"imagesloaded": "^5.0.0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ module:
|
||||||
target: i18n
|
target: i18n
|
||||||
- source: archetypes
|
- source: archetypes
|
||||||
target: archetypes
|
target: archetypes
|
||||||
- source: ../../node_modules/flag-icon-css/flags
|
- source: ../../node_modules/flag-icons/flags
|
||||||
target: static/flags
|
target: static/flags
|
||||||
- source: ../../node_modules/@fontsource/mulish/files
|
- source: ../../node_modules/@fontsource/mulish/files
|
||||||
target: static/files
|
target: static/files
|
||||||
|
|
130
i18n/az.toml
Normal file
130
i18n/az.toml
Normal file
|
@ -0,0 +1,130 @@
|
||||||
|
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||||
|
[home]
|
||||||
|
other = "Əsas Səhifə"
|
||||||
|
|
||||||
|
[posts]
|
||||||
|
other = "Yazılar"
|
||||||
|
|
||||||
|
[toc_heading]
|
||||||
|
other = "Məzmun Cədvəli"
|
||||||
|
|
||||||
|
[tags]
|
||||||
|
other = "Etiketlər"
|
||||||
|
|
||||||
|
[categories]
|
||||||
|
other = "Kateqoriyalar"
|
||||||
|
|
||||||
|
[at]
|
||||||
|
other = ","
|
||||||
|
|
||||||
|
[resume]
|
||||||
|
other = "CV"
|
||||||
|
|
||||||
|
[navigation]
|
||||||
|
other = "Menyu"
|
||||||
|
|
||||||
|
[contact_me]
|
||||||
|
other = "Əlaqə:"
|
||||||
|
|
||||||
|
[email]
|
||||||
|
other = "E-Poçt"
|
||||||
|
|
||||||
|
[phone]
|
||||||
|
other = "Telefon"
|
||||||
|
|
||||||
|
[newsletter_text]
|
||||||
|
other = "Yeni məzmunlardan xəbərdar olmaq üçün E-Poçt ünvanınızı daxil edin."
|
||||||
|
|
||||||
|
[newsletter_input_placeholder]
|
||||||
|
other = "E-Poçt ünvanını daxil edin."
|
||||||
|
|
||||||
|
[newsletter_warning]
|
||||||
|
other = "E-Poçt ünvanınızı daxil etsəniz, bu veb saytın xəbər bülletenini almağı qəbul etmiş olursunuz."
|
||||||
|
|
||||||
|
[submit]
|
||||||
|
other = "Təsdiqlə"
|
||||||
|
|
||||||
|
[hugoAttributionText]
|
||||||
|
other = ""
|
||||||
|
|
||||||
|
[prev]
|
||||||
|
other = "Əvvəlki"
|
||||||
|
|
||||||
|
[next]
|
||||||
|
other = "Sonraki"
|
||||||
|
|
||||||
|
[share_on]
|
||||||
|
other = "Paylaş"
|
||||||
|
|
||||||
|
[improve_this_page]
|
||||||
|
other = "Bu səhifəyə töhfə verin"
|
||||||
|
|
||||||
|
[out_of]
|
||||||
|
other = "/"
|
||||||
|
|
||||||
|
[publications]
|
||||||
|
other = "Akademik Nəşrlər"
|
||||||
|
|
||||||
|
[taken_courses]
|
||||||
|
other = "Keçirilmiş Kurslar"
|
||||||
|
|
||||||
|
[course_name]
|
||||||
|
other = "Kursun Adı"
|
||||||
|
|
||||||
|
[total_credit]
|
||||||
|
other = "Ümumi Kredit"
|
||||||
|
|
||||||
|
[obtained_credit]
|
||||||
|
other = "Qazandırılmış Kredit"
|
||||||
|
|
||||||
|
[extracurricular_activities]
|
||||||
|
other = "Kursdankənar Fəaliyyətlər"
|
||||||
|
|
||||||
|
[show_more]
|
||||||
|
other = "Daha Çox Göstər"
|
||||||
|
|
||||||
|
[show_less]
|
||||||
|
other = "Gizlət"
|
||||||
|
|
||||||
|
[responsibilities]
|
||||||
|
other = "Məsuliyyətlər:"
|
||||||
|
|
||||||
|
[present]
|
||||||
|
other = "Hal-hazırda"
|
||||||
|
|
||||||
|
[comments_javascript]
|
||||||
|
other = "Görmək üçün xahiş edirəm JavaScript-i aktiv edin"
|
||||||
|
|
||||||
|
[comments_by]
|
||||||
|
other = "Şərh edən"
|
||||||
|
|
||||||
|
[read]
|
||||||
|
other = "Oxu"
|
||||||
|
|
||||||
|
[project_star]
|
||||||
|
other = "Ulduz"
|
||||||
|
|
||||||
|
[project_details]
|
||||||
|
other = "Təfərrüatlar"
|
||||||
|
|
||||||
|
[err_404]
|
||||||
|
other = "Axtardığınız səhifə tapılmadı."
|
||||||
|
|
||||||
|
[more]
|
||||||
|
other = "Daha Çox"
|
||||||
|
|
||||||
|
[view_certificate]
|
||||||
|
other = "Sertifikatı Görüntülə"
|
||||||
|
|
||||||
|
[notes]
|
||||||
|
other = "Qeydlər"
|
||||||
|
|
||||||
|
[disclaimer_text]
|
||||||
|
other = "Məsuliyyət İnkarı"
|
||||||
|
|
||||||
|
[search]
|
||||||
|
other = "Axtar"
|
||||||
|
|
||||||
|
[minute]
|
||||||
|
one = "dəqiqə"
|
||||||
|
other = "dəqiqə"
|
|
@ -6,7 +6,7 @@
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
{{ if ne site.Params.features.flags.enable false }}
|
{{ if ne site.Params.features.flags.enable false }}
|
||||||
{{ $countryCode := partial "helpers/country-code.html" . }}
|
{{ $countryCode := partial "helpers/country-code.html" . }}
|
||||||
<span class="flag-icon flag-icon-{{$countryCode}}"></span>
|
<span class="fi fi-{{$countryCode}}"></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ site.Language.LanguageName }}
|
{{ site.Language.LanguageName }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
<a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang $.Sites.Default.Language.Lang) "" .Language.Lang) $pageURL }}">
|
<a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang $.Sites.Default.Language.Lang) "" .Language.Lang) $pageURL }}">
|
||||||
{{ if ne site.Params.features.flags.enable false }}
|
{{ if ne site.Params.features.flags.enable false }}
|
||||||
{{ $countryCode := partial "helpers/country-code.html" . }}
|
{{ $countryCode := partial "helpers/country-code.html" . }}
|
||||||
<span class="flag-icon flag-icon-{{$countryCode}}"></span>
|
<span class="fi fi-{{$countryCode}}"></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ .Language.LanguageName }}
|
{{ .Language.LanguageName }}
|
||||||
</a>
|
</a>
|
||||||
|
|
835
package-lock.json
generated
835
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -33,7 +33,7 @@
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||||
"bootstrap": "^5.3.3",
|
"bootstrap": "^5.3.3",
|
||||||
"filterizr": "^2.2.4",
|
"filterizr": "^2.2.4",
|
||||||
"flag-icon-css": "^4.1.7",
|
"flag-icons": "^7.2.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"highlight.js": "^11.6.0",
|
"highlight.js": "^11.6.0",
|
||||||
"imagesloaded": "^5.0.0",
|
"imagesloaded": "^5.0.0",
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"eslint-plugin-promise": "project",
|
"eslint-plugin-promise": "project",
|
||||||
"feather-icons": "project",
|
"feather-icons": "project",
|
||||||
"filterizr": "project",
|
"filterizr": "project",
|
||||||
"flag-icon-css": "project",
|
"flag-icons": "project",
|
||||||
"fuse.js": "project",
|
"fuse.js": "project",
|
||||||
"highlight.js": "project",
|
"highlight.js": "project",
|
||||||
"imagesloaded": "project",
|
"imagesloaded": "project",
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"feather-icons": "^4.29.1",
|
"feather-icons": "^4.29.1",
|
||||||
"filterizr": "^2.2.4",
|
"filterizr": "^2.2.4",
|
||||||
"flag-icon-css": "^4.1.7",
|
"flag-icons": "^7.2.3",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"highlight.js": "^11.6.0",
|
"highlight.js": "^11.6.0",
|
||||||
"imagesloaded": "^5.0.0",
|
"imagesloaded": "^5.0.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue