diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index f66d61b..2c05662 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,8 +6,8 @@ title: 'Feature Request' ### Describe the solution you'd like diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index beb0850..3f941f2 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout to latest commit - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.1.0 - name: Setup Node - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: "15.x" @@ -21,7 +21,7 @@ jobs: npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.12.1 + uses: peter-evans/create-pull-request@v4 with: branch: autoprefixer branch-suffix: timestamp diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0d6d9e1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Run Build + +# Run action on pull request event +on: [pull_request] + + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + # checkout to the commit that has been pushed + - uses: actions/checkout@v3.1.0 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + # install Hugo + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2.5.0 + with: + hugo-version: 'latest' + extended: true + + # build website + - name: Create Config + run: touch config.toml + - name: Build + run: hugo --minify diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 89971fe..cbe49f1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,11 +39,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.1.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 8226b75..6da457d 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: # Create/Update release draft - - uses: release-drafter/release-drafter@v5.18.1 + - uses: release-drafter/release-drafter@v5.21.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/md-link-checker.yml b/.github/workflows/md-link-checker.yml index e8104c0..91c04d7 100644 --- a/.github/workflows/md-link-checker.yml +++ b/.github/workflows/md-link-checker.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: # checkout to latest commit - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3.1.0 # run markdown linter - - uses: gaurav-nelson/github-action-markdown-link-check@1.0.13 + - uses: gaurav-nelson/github-action-markdown-link-check@1.0.14 diff --git a/.github/workflows/project-automation-issue.yaml b/.github/workflows/project-automation-issue.yaml index 31169c6..a257eae 100644 --- a/.github/workflows/project-automation-issue.yaml +++ b/.github/workflows/project-automation-issue.yaml @@ -106,7 +106,7 @@ jobs: # Set the "Type" field to appropriate option gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -136,7 +136,7 @@ jobs: fi gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item diff --git a/.github/workflows/project-automation-pr.yaml b/.github/workflows/project-automation-pr.yaml index 9d80589..3d8e936 100644 --- a/.github/workflows/project-automation-pr.yaml +++ b/.github/workflows/project-automation-pr.yaml @@ -109,7 +109,7 @@ jobs: # Set the "Type" field to appropriate option gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -153,7 +153,7 @@ jobs: echo 'PR_STATUS='$OPTION_ID >> $GITHUB_ENV gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item @@ -204,7 +204,7 @@ jobs: # Update the Issue Status gh api graphql -f query=' - mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: ID!) { + mutation ($project: ID!, $item: ID!, $field: ID!, $status_id: String!) { updateProjectNextItemField(input: { projectId: $project itemId: $item diff --git a/.gitignore b/.gitignore index 700de0f..43c3d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ node_modules/ .DS_Store .history/ -resources/ \ No newline at end of file +resources/ +public/ +.hugo_build.lock \ No newline at end of file diff --git a/README.md b/README.md index 38c63ba..437e33e 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,16 @@ A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist desi - Achievement Gallery - Sidebar to Categorize the Posts - Short Codes -- Google Analytics Support -- Disqus Comment Support +- Analytics Support + - GoatCounter + - counter.dev + - Google Analytics + - Matomo/Piwik +- Comment Support + - [Disqus](https://disqus.com/) + - [Valine](https://valine.js.org/) + - [Uttarances](https://utteranc.es/) + - [Giscus](https://giscus.app/) For more details about the features please visit [here](https://toha-guides.netlify.app/posts/features/). @@ -49,7 +57,11 @@ For more details about the features please visit [here](https://toha-guides.netl - 日本語 - 한국어 - русский +- suomi - Tiếng Việt +- Turkish +- Arabic (العربية) +- Português To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io). @@ -71,7 +83,7 @@ Here are few screenshots from the [example site](https://hugo-toha.github.io). ## Requirements -- Hugo Version 0.68.0 or higher +- Hugo Version 0.87.0 or higher ## Usage @@ -137,6 +149,9 @@ params: # specify whether you want to show Table of Contents in reading page enableTOC: true + # specify whether you want the language flags to be displayed. + showFlags: true + # Provide newsletter configuration. # This feature has been implemented for Mailchimp only for now. # You can also hide it from the footer. @@ -165,10 +180,12 @@ When you run your site for first time, it will start with the default parameters Here, are some handy shortcodes you can use with this theme. -- [Alert](https://toha-guides.netlify.app/posts/short-codes/alert/) -- [Image](https://toha-guides.netlify.app/posts/short-codes/img/) -- [Split](https://toha-guides.netlify.app/posts/short-codes/split/) -- [Vertical Space](https://toha-guides.netlify.app/posts/short-codes/vs/) +- [Alert](https://toha-guides.netlify.app/posts/shortcodes/#alert) +- [Image](https://toha-guides.netlify.app/posts/shortcodes/#image) +- [Split](https://toha-guides.netlify.app/posts/shortcodes/#split) +- [Vertical Space](https://toha-guides.netlify.app/posts/shortcodes/#vertical-space) +- [Video](https://toha-guides.netlify.app/posts/shortcodes/#video) +- [Mermaid](https://hugo-toha.github.io/posts/shortcodes/#mermaid) ## Project Roadmap @@ -230,13 +247,14 @@ Here is the check list for portfolio mode, - [ ] **Publications** - - [ ] Category Filter - - [ ] Card - - [ ] Abstract - - [ ] Authors - - [ ] Tags - - [ ] Links - - [ ] Gallery + - [x] Category Filter + - [x] Card + - [x] Tags + - [x] Links + - [ ] Dedicated Page + - [ ] Abstract + - [ ] Authors + - [ ] Gallery - [x] **Accomplishment / Courses** diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..639055f --- /dev/null +++ b/go.mod @@ -0,0 +1,7 @@ +module github.com/hugo-toha/toha + +go 1.12 + +// require( + +// ) \ No newline at end of file diff --git a/i18n/ar.toml b/i18n/ar.toml new file mode 100644 index 0000000..7bc84f2 --- /dev/null +++ b/i18n/ar.toml @@ -0,0 +1,126 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "الصفحة الرئيسية" + +[posts] +other = "المنشورات" + +[toc_heading] +other = "قائمة المحتويات" + +[tags] +other = "الوسوم" + +[categories] +other = "الأقسام" + +[at] +other = "at" + +[resume] +other = "سيرتي الذاتية" + +[navigation] +other = "التصفح" + +[contact_me] +other = "اتصل بي:" + +[email] +other = "البريد الإلكتروني" + +[phone] +other = "الهاتف" + +[newsletter_text] +other = "ابق على اتصال من خلال القائمة البريدية" + +[newsletter_input_placeholder] +other = "ادخل بريدك الالكتروني" + +[newsletter_warning] +other = "بإدخال بريدك الإلكتروني، أنت توافق على تلقي رسائل إلكترونية دورية من هذا الموقع." + +[submit] +other = "إرسال" + +[hugoAttributionText] +other = "صنع باستخدام" + +[prev] +other = "السابق" + +[next] +other = "التالي" + +[share_on] +other = "المشاركة على" + +[improve_this_page] +other = "ساعد في تحسين هذه الصفحة" + +[out_of] +other = "من" + +[publications] +other = "المنشورات" + +[taken_courses] +other = "الدروس" + +[course_name] +other = "اسم المادة" + +[total_credit] +other = "العلامة العامة" + +[obtained_credit] +other = "العلامة" + +[extracurricular_activities] +other = "نشاطات خارجية" + +[show_more] +other = "إظهار المزيد" + +[show_less] +other = "إخفاء" + +[responsibilities] +other = "المسؤوليات:" + +[present] +other = "حاليا" + +[comments_javascript] +other = "من فضلك قم بتفعيل جافاسكريب لإظهار" + +[comments_by] +other = "التعليقات موفرة بواسطة" + +[read] +other = "قراءة" + +[project_star] +other = "نجمة" + +[project_details] +other = "التفاصيل" + +[err_404] +other = "الصفحة التي تبحث عنها ليست بعد هناك." + +[more] +other = "المزيد" + +[view_certificate] +other = "إظهار الشهادة" + +[notes] +other = "ملاحظات" + +[disclaimer_text] +other = "إشعار بالمسؤولية" + +[search] +other = "بحث" diff --git a/i18n/bn.toml b/i18n/bn.toml index b66b430..96b0546 100644 --- a/i18n/bn.toml +++ b/i18n/bn.toml @@ -118,3 +118,6 @@ other = "নোট সমূহ" [disclaimer_text] other = "দায় বিজ্ঞপ্তি" + +[search] +other = "অনুসন্ধান করুন" diff --git a/i18n/de.toml b/i18n/de.toml index 979c7c6..940e089 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -72,10 +72,10 @@ other = "Belegte Kurse" other = "Kursname" [total_credit] -other = "Gesamtguthaben" +other = "Mögliche Punktzahl" [obtained_credit] -other = "Erhaltenes Guthaben" +other = "Note" [extracurricular_activities] other = "Außerschulische Aktivitäten" @@ -108,7 +108,7 @@ other = "Star" other = "Details" [err_404] -other = "Die Seite nach der Seite ist noch nicht vorhanden." +other = "Die von Ihnen gesuchte Seite ist noch nicht vorhanden." [more] other = "Mehr" @@ -121,3 +121,6 @@ other = "Notizen" [disclaimer_text] other = "Haftungshinweis" + +[search] +other = "Suche" diff --git a/i18n/en.toml b/i18n/en.toml index e388159..c352868 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -121,3 +121,6 @@ other = "Notes" [disclaimer_text] other = "Liability Notice" + +[search] +other = "Search" diff --git a/i18n/es.toml b/i18n/es.toml index a2ab49b..5265bcd 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -121,3 +121,6 @@ other = "Notas" [disclaimer_text] other = "Aviso de responsabilidad" + +[search] +other = "Búsqueda" diff --git a/i18n/fi.toml b/i18n/fi.toml new file mode 100644 index 0000000..f5f3021 --- /dev/null +++ b/i18n/fi.toml @@ -0,0 +1,126 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Koti" + +[posts] +other = "Artikkelit" + +[toc_heading] +other = "Sisällysluettelo" + +[tags] +other = "Tagit" + +[categories] +other = "Kategoriat" + +[at] +other = "at" + +[resume] +other = "Ansioluetteloni" + +[navigation] +other = "Navigointi" + +[contact_me] +other = "Ota yhteyttä minuun:" + +[email] +other = "Sähköposti" + +[phone] +other = "Puhelin" + +[newsletter_text] +other = "Pysy ajan tasalla tilaamalla sähköposti-ilmoitukset" + +[newsletter_input_placeholder] +other = "Syötä sähköpostiosoite" + +[newsletter_warning] +other = "Syöttämällä sähköpostin, hyväksyt että haluat vastaanottaa uutiskirjeen tältä sivustolta." + +[submit] +other = "Lähetä" + +[hugoAttributionText] +other = "Voimanlähteenä" + +[prev] +other = "Edellinen" + +[next] +other = "Seuraava" + +[share_on] +other = "Jaa" + +[improve_this_page] +other = "Paranna tätä sivua" + +[out_of] +other = "out of" + +[publications] +other = "Julkaisut" + +[taken_courses] +other = "Käydyt kurssit" + +[course_name] +other = "Kurssin nimi" + +[total_credit] +other = "Opintopisteet yhteensä" + +[obtained_credit] +other = "Saadut opintopisteet" + +[extracurricular_activities] +other = "Opetusohjelman ulkopuolinen toiminta" + +[show_more] +other = "Näytä lisää" + +[show_less] +other = "Näytä vähemmän" + +[responsibilities] +other = "Työtehtävät:" + +[present] +other = "Tämä päivä" + +[comments_javascript] +other = "Ole hyvä ja enabloi JavaScript katsoaksesi" + +[comments_by] +other = "kommentit mahdollistavat" + +[read] +other = "Lue" + +[project_star] +other = "Tähti" + +[project_details] +other = "Yksityiskohdat" + +[err_404] +other = "Sivua jota etsit ei löydy." + +[more] +other = "Lisää" + +[view_certificate] +other = "Katso todistus" + +[notes] +other = "Muistiinpanot" + +[disclaimer_text] +other = "Vastuuilmoitus" + +[search] +other = "Haku" diff --git a/i18n/fr.toml b/i18n/fr.toml index 4b9135f..ca9484a 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -121,3 +121,6 @@ other = "Remarques" [disclaimer_text] other = "Avis de responsabilité" + +[search] +other = "Chercher" diff --git a/i18n/hi.toml b/i18n/hi.toml index 2b01f97..8348cbd 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -121,3 +121,6 @@ other = "टिप्पणियाँ" [disclaimer_text] other = "दायित्व सूचना" + +[search] +other = "खोज" diff --git a/i18n/id.toml b/i18n/id.toml index 20b8d95..c82b940 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -121,3 +121,6 @@ other = "Catatan" [disclaimer_text] other = "Pemberitahuan Kewajiban" + +[search] +other = "Mencari" diff --git a/i18n/it.toml b/i18n/it.toml index b59a57a..4ed987a 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -121,3 +121,6 @@ other = "Appunti" [disclaimer_text] other = "Avviso di responsabilità" + +[search] +other = "Ricerca" diff --git a/i18n/jp.toml b/i18n/jp.toml index f243656..fab32a5 100644 --- a/i18n/jp.toml +++ b/i18n/jp.toml @@ -118,3 +118,6 @@ other = "ノート" [disclaimer_text] other = "責任通知" + +[search] +other = "検索" diff --git a/i18n/ko.toml b/i18n/ko.toml index e9c9f4b..cefdb30 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -121,3 +121,6 @@ other = "메모" [disclaimer_text] other = "책임 고지" + +[search] +other = "찾다" diff --git a/i18n/nl.toml b/i18n/nl.toml index 070504e..8487720 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -1,11 +1,11 @@ [home] -other = "Startseite" +other = "Hoofdpagina" [posts] -other = "Beiträge" +other = "Posts" [toc_heading] -other = "Inhaltsverzeichnis" +other = "Inhoudsopgave" [tags] other = "Tags" @@ -14,49 +14,49 @@ other = "Tags" other = "Categorieën" [at] -other = "bei" +other = "bij" [resume] -other = "Mein Lebenslauf" +other = "Curriculum Vitae" [navigation] -other = "Navigation" +other = "Navigatie" [contact_me] -other = "Kontakt aufnehmen" +other = "Contactgegevens" [email] other = "E-Mail" [phone] -other = "Telefon" +other = "Telefoon" [newsletter_text] -other = "Mit dem Newsletter auf dem neuesten Stand bleiben" +other = "Ontvang updates via email" [newsletter_input_placeholder] -other = "E-Mail-Adresse eingeben" +other = "Email ingeven" [newsletter_warning] other = "Door uw e-mailadres in te voeren, gaat u akkoord met het ontvangen van de nieuwsbrief van deze website." [submit] -other = "Absenden" +other = "Opslaan" [hugoAttributionText] -other = "Unterstützt von" +other = "Mogelijk gemaakt met" [prev] -other = "Vorherige" +other = "Vorige" [next] -other = "Nächste" +other = "Volgende" -# [share_on] -# other = "Share on" +[share_on] +other = "Delen op" [improve_this_page] -other = "Diese Seite verbessern" +other = "Deze pagina verbeteren" [out_of] other = "van de" @@ -65,7 +65,7 @@ other = "van de" other = "Publicaties" [taken_courses] -other = "Cursussen gevolgd" +other = "Gevolgde cursussen" [course_name] other = "Cursus naam" @@ -85,11 +85,11 @@ other = "Bekijk meer" [show_less] other = "Laat minder zien" -# [responsibilities] -# other = "Responsibilities:" +[responsibilities] +other = "Verantwoordelijkheden:" -# [present] -# other = "Present" +[present] +other = "Heden" # [comments_javascript] # other = "Please enable JavaScript to view the" @@ -103,11 +103,11 @@ other = "Laat minder zien" # [project_star] # other = "Star" -# [project_details] -# other = "Details" +[project_details] +other = "Details" -# [err_404] -# other = "The page you are looking for is not there yet." +[err_404] +other = "De pagina waar je voor zoekt bestaat nog niet." [more] other = "Meer" @@ -119,4 +119,7 @@ other = "Bekijk certificaat" other = "Opmerkingen" [disclaimer_text] -other = "Haftungshinweis" \ No newline at end of file +other = "Aansprakelijkheidsverklaring" + +[search] +other = "Zoek" diff --git a/i18n/pt.toml b/i18n/pt.toml new file mode 100644 index 0000000..65f7703 --- /dev/null +++ b/i18n/pt.toml @@ -0,0 +1,126 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Início" + +[posts] +other = "Artigos" + +[toc_heading] +other = "Tabela de conteúdos" + +[tags] +other = "Etiquetas" + +[categories] +other = "Categorias" + +[at] +other = "em" + +[resume] +other = "O meu Currículo" + +[navigation] +other = "Navegação" + +[contact_me] +other = "Contacte-me:" + +[email] +other = "Email" + +[phone] +other = "Telefone" + +[newsletter_text] +other = "Mantenha-se actualizado com notificações por email" + +[newsletter_input_placeholder] +other = "Inserir email" + +[newsletter_warning] +other = "Ao submeter o seu endereço de email, concorda em receber a newsletter deste website." + +[submit] +other = "Enviar" + +[hugoAttributionText] +other = "Desenvolvido por" + +[prev] +other = "Anterior" + +[next] +other = "Próximo" + +[share_on] +other = "Partilha" + +[improve_this_page] +other = "Melhore esta página" + +[out_of] +other = "de" + +[publications] +other = "Publicações" + +[taken_courses] +other = "Cursos frequentados" + +[course_name] +other = "Nome do Curso" + +[total_credit] +other = "Créditos Totais" + +[obtained_credit] +other = "Créditos Obtidos" + +[extracurricular_activities] +other = "Actividades Extracurriculares" + +[show_more] +other = "Ver Mais" + +[show_less] +other = "Ver Menos" + +[responsibilities] +other = "Responsabilidades:" + +[present] +other = "Presente" + +[comments_javascript] +other = "Por favor active JavaScript para ver o" + +[comments_by] +other = "comentários por" + +[read] +other = "Ler" + +[project_star] +other = "Star" + +[project_details] +other = "Detalhes" + +[err_404] +other = "A página que procura ainda não está aqui." + +[more] +other = "Mais" + +[view_certificate] +other = "Ver Certificado" + +[notes] +other = "Notas" + +[disclaimer_text] +other = "Nota legal" + +[search] +other = "Pesquisar" diff --git a/i18n/ru.toml b/i18n/ru.toml index 76fbe25..1b60205 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -121,3 +121,6 @@ other = "Ноты" [disclaimer_text] other = "Уведомление об ответственности" + +[search] +other = "Поиск" diff --git a/i18n/tr.toml b/i18n/tr.toml new file mode 100644 index 0000000..6fb6269 --- /dev/null +++ b/i18n/tr.toml @@ -0,0 +1,126 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Anasayfa" + +[posts] +other = "Gönderiler" + +[toc_heading] +other = "İçerik Tablous" + +[tags] +other = "Etiketler" + +[categories] +other = "Kategoriler" + +[at] +other = "," + +[resume] +other = "Özgeçmişim" + +[navigation] +other = "Menü" + +[contact_me] +other = "İletişime geç:" + +[email] +other = "E-Posta" + +[phone] +other = "Telefon" + +[newsletter_text] +other = "Yeni içeriklerden haberdar olmak için E-Posta adresinizi giriniz." + +[newsletter_input_placeholder] +other = "E-Posta adresi giriniz." + +[newsletter_warning] +other = "E-Posta adresini girerseniz, bu web sitesinin haber bültenini almayı kabul ediyorsunuz." + +[submit] +other = "Onayla" + +[hugoAttributionText] +other = "" + +[prev] +other = "Önceki" + +[next] +other = "Sonraki" + +[share_on] +other = "Paylaş" + +[improve_this_page] +other = "Bu sayfaya katkıda bulunun" + +[out_of] +other = "/" + +[publications] +other = "Akademik Yayınlar" + +[taken_courses] +other = "Alınan Dersler" + +[course_name] +other = "Ders Adı" + +[total_credit] +other = "Üzerinden" + +[obtained_credit] +other = "Alınan Not" + +[extracurricular_activities] +other = "Ders Dışı Aktiviteler" + +[show_more] +other = "Devamını Göster" + +[show_less] +other = "Gizle" + +[responsibilities] +other = "Sorumluluklar:" + +[present] +other = "Halen" + +[comments_javascript] +other = "Görüntüleyebilmek için lüften Javascript etkinleştirin" + +[comments_by] +other = "comments powered by" + +[read] +other = "Oku" + +[project_star] +other = "Star" + +[project_details] +other = "Detaylar" + +[err_404] +other = "Aradığınız sayfa bulunmamakta." + +[more] +other = "Devamını Göster" + +[view_certificate] +other = "Sertifikayı Görüntüle" + +[notes] +other = "Notlar" + +[disclaimer_text] +other = "Yükümlülük Bildirisi" + +[search] +other = "Ara" diff --git a/i18n/vn.toml b/i18n/vn.toml index a88524e..4184752 100644 --- a/i18n/vn.toml +++ b/i18n/vn.toml @@ -121,3 +121,6 @@ other = "Ghi chú" [disclaimer_text] other = "Thông báo trách nhiệm" + +[search] +other = "Tìm kiếm" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index a186830..8ad597e 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -121,3 +121,6 @@ other = "笔记" [disclaimer_text] other = "免责声明" + +[search] +other = "搜索" diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml index f1bb3a3..5767f9b 100644 --- a/i18n/zh-tw.toml +++ b/i18n/zh-tw.toml @@ -86,29 +86,29 @@ other = "查看更多" [show_less] other = "顯示較少" -# [responsibilities] -# other = "Responsibilities:" +[responsibilities] +other = "職責:" -# [present] -# other = "Present" +[present] +other = "現在" -# [comments_javascript] -# other = "Please enable JavaScript to view the" +[comments_javascript] +other = "請開啟 JavaScript 查看" -# [comments_by] -# other = "comments powered by" +[comments_by] +other = "評論由" -# [read] -# other = "Read" +[read] +other = "閱讀" -# [project_star] -# other = "Star" +[project_star] +other = "Star" -# [project_details] -# other = "Details" +[project_details] +other = "詳情" -# [err_404] -# other = "The page you are looking for is not there yet." +[err_404] +other = "您訪問的頁面不存在" [more] other = "更多的" @@ -121,3 +121,6 @@ other = "筆記" [disclaimer_text] other = "免責聲明" + +[search] +other = "搜索" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index af3faed..782cd3e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,16 +9,9 @@ {{ block "header" . }} {{ end }} - - {{ if site.GoogleAnalytics }} - - {{ if hasPrefix site.GoogleAnalytics "UA-"}} - {{ template "_internal/google_analytics_async.html" . }} - {{ else }} - - {{ template "_internal/google_analytics.html" . }} - {{ end }} - {{ end }} + + {{- partial "analytics.html" . -}} + @@ -45,5 +38,9 @@ {{ block "scripts" . }} {{ end }} + + + {{- partial "misc/support.html" . -}} + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8367014..15759d3 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -20,7 +20,7 @@