Commit Graph

34 Commits

Author SHA1 Message Date
Geeqla 791999df38
Add uk.yaml Ukrainian translation (#356) 2021-04-14 18:41:44 +05:30
Kian Kasad 17c4da86b5
Add copy button to copy code block contents (#345)
* add buttons to copy code block contents

Adds a clickable "copy" link in the top-right corner of each code block.

If available, uses the navigator.clipboard API. Falls back to selecting
the text and calling document.execCommand('copy') to copy text.

* hides copy button unless mouse is hovering over code block

* change text of copy button when text is copied

* add translation keys for copy button text  `code_copy` and `code_copied`

* To disable use `Params.disableCodeCopy: true` in site config
2021-04-10 11:33:31 +05:30
Syphdias abfdb54c92
Add option to show link in meta data for editing posts (#278)
Usage

- in site config =>

    Params:
    editPost:
        URL: "https://github.com/<path_to_repo>/content"
        Text: "Suggest Changes" # edit text 
        appendFilePath: true # to append file path to Edit link

- in front-matter vars =>
    ---
    editPost:
        URL: "https://github.com/<path_to_repo>/content"
        Text: "Suggest Changes" # edit text 
        appendFilePath: true # to append file path to Edit link
    ---

- Front-matter vars overrides global ones
2021-03-23 14:58:26 +05:30
Bassel Cheaib cb778d8db4
Minor adjustments in Arabic translations (#309) 2021-03-22 16:49:29 +05:30
Wagner Macedo f8b16702fa
Add portuguese (pt) translation (#294) 2021-03-14 18:52:30 +05:30
Muhammad e0ed556818
Add i18n support for Arabic (#271) 2021-03-01 10:11:29 +05:30
Alon 3492e151e5
Add he.yaml Hebrew translation (#259) 2021-02-24 12:55:20 +05:30
Ibragimov R cc99dba7bd
Add uz.yaml uzbek language translation (#245) 2021-02-16 13:19:15 +05:30
Arnau 33c85c5d56
Add ca.yaml for catalan translation (#237) 2021-02-14 14:42:25 +05:30
Aditya Telange 75855b2758
init feat Breadcrumb Navigation (#207)
* adds Breadcrumb nav above title of single page/post
* add enabler var 'ShowBreadCrumbs'
* introduce i18n var "home"

usage:
in site config:
Params:
    ShowBreadCrumbs: true

in page front-matter:
ShowBreadCrumbs: false
2021-01-29 23:37:07 +05:30
Csaba Vass a414d16b86
Add Hungarian(hu) translations (#203) 2021-01-27 21:30:08 +05:30
Hattomo (TomohiroHattori) f1329fe53d
Add more japanese traslations (#202) 2021-01-27 13:30:45 +05:30
skinner12 42280d1170
Add italian (it) translation (#184) 2021-01-20 11:27:30 +05:30
Muhammad Hanif 6f397ef591
i18n: Add id Bahasa Indonesia (#173) 2021-01-11 19:13:36 +05:30
Maurice Bauer 8933950217
i18n: Added missing german (de) translation (#147) 2020-12-23 13:09:20 +05:30
Dragomir Yordanov db0e744af3
i18n: improve for 'es' and add 'bg' (#58)
* Translate read_time, toc and translations to spanish

* Add translations in bulgarian
2020-10-25 09:52:26 +05:30
Mehdy Khoshnoody a8123bc688
i18n: Add translations for fa: Farsi (#56) 2020-10-23 15:11:20 +05:30
Northerner-coder a980d10bfc
i18n: ru: Add full Russian localization (#40) 2020-10-16 18:26:54 +05:30
EV7 c480729b8d
i18n: add more translations for zh (#10) 2020-09-23 13:04:42 +05:30
Aditya Telange 07976cdd3c
i18n: translations for en, hi 2020-09-22 13:41:55 +05:30
Aditya Telange ae2436cc5a
i18n: en: add translation for read_time, toc 2020-09-22 12:59:27 +05:30
Aditya Telange e5a87f786f
i18n: hi: add translation for read_time, toc 2020-09-22 12:57:25 +05:30
Pyvain 6bff959d62 Fix interversion of next and prev translations 2020-09-20 09:17:42 +05:30
Pyvain f7bf814ec9 Add i18n support for French 2020-09-20 09:16:07 +05:30
Aditya Telange 80ce7820e4
Add i18n support for Hindi 2020-08-23 22:27:29 +05:30
Chris Aumann 02c6c685b5 Add i18n support for Spanish 2020-08-23 22:21:03 +05:30
Chris Aumann 428e67d561 Add i18n support for German 2020-08-23 22:20:52 +05:30
Takayuki Hamada 24678135f9 support japanese 2019-10-19 02:15:01 +09:00
nanxiaobei 165ad9b6fa Run Prettier 2019-08-20 04:12:30 +08:00
nanxiaobei 22ec09e42c Add zh i18n 2019-04-01 16:00:28 +08:00
nanxiaobei 53ab416683 Update i18n 2019-04-01 16:00:16 +08:00
Jiwon Choi c194d1478a
Rename ko.md to ko.yaml 2019-01-06 16:56:32 +09:00
Jiwon Choi 3efcde322b
Create ko.md 2019-01-06 16:54:40 +09:00
Michael Ovchinnikov b43e0d727e add i18n 2018-08-31 15:30:42 +03:00