Commit Graph

9 Commits

Author SHA1 Message Date
Thiago Perrotta b0ab8ea495
Add option to add word count to metadata (#740)
Usage: 
ShowWordCount: true
2022-01-21 23:58:25 +05:30
Andreas Deininger 37f359ee21
Completing German, English and Spanish translation (#728) 2022-01-15 19:04:54 +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
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
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
nanxiaobei 165ad9b6fa Run Prettier 2019-08-20 04:12:30 +08:00
nanxiaobei 53ab416683 Update i18n 2019-04-01 16:00:16 +08:00
Michael Ovchinnikov b43e0d727e add i18n 2018-08-31 15:30:42 +03:00