aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08Rollback flexsearch for nowAlex Shpak1-27/+42
2021-09-07(GH-375) Enable use as a hugo module (#376)Michael T Lombardi (He/Him)2-0/+26
This commit does the minimal work to make the Book theme a functional hugo module by adding the go.mod file and including instructions in the project README for use. Resolves #375
2021-08-30Upgrade flexsearch and mermaidAlex Shpak2-47/+32
2021-08-30#370: Allow markdown in details shortcode, also change markdownify to ↵Alex Shpak4-5/+6
RenderString in other shortcodes
2021-08-30#374: set auto height for images in markdownAlex Shpak3-2/+3
2021-08-18#343, #165: Move lang selector to left menuAlex Shpak7-81/+37
2021-07-25Update README.mdAlex Shpak1-7/+7
2021-07-25Update theme.tomlAlex Shpak1-0/+1
2021-07-20issues 362 (#364)逊狼1-3/+3
* 🐞 fix issues 352 Solve this problem: https://github.com/alex-shpak/hugo-book/issues/352 The Reason: https://github.com/gohugoio/hugo/issues/8688 * fix issues 362 https://github.com/alex-shpak/hugo-book/issues/362 * Revert "🐞 fix issues 352" This reverts commit 58f8935d1e2348d7c9aa03ca2fac8049f486ad3d. * Revert "Revert "🐞 fix issues 352"" This reverts commit fa0d46ccf56f435a628af17798d36616a5c23d86. * fix issues 362 * Update columns.html * Revert "Revert "Revert "🐞 fix issues 352""" This reverts commit 79777a9e846334b6043048b156d972212802931c. Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-07-01Added italian translation (#356)Marco Guerrini1-0/+14
2021-06-21Add Farsi with support for search RTL texts (#350)xhdix1-0/+20
Farsi/Parsi/Persian
2021-06-21Change collapsed icon in menu for RTL pages (#354)xhdix1-1/+12
2021-06-08Fix menu not working in RTL menu (#349)xhdix1-1/+1
2021-05-27Document removal of internal hugo templates (#345)Nikolay Raspopov1-0/+6
2021-05-21#285, skip integrity attribute if site is built without hostnameAlex Shpak1-3/+9
2021-05-21Add deprecation notice for menu bundleAlex Shpak1-0/+1
2021-05-20Prefer existing and translated variant of home page (#342)Nikolay Raspopov1-1/+1
* Prefer existing and translated variant of home page as the site link in the menu header. * More compact "cond"-version of fix.
2021-05-20Fix lighthouse remarks: icon sizes, noopenerAlex Shpak5-4/+11
2021-05-20Update roboto fontsAlex Shpak17-21/+11
2021-05-19Refactor search, syntax errorAlex Shpak1-1/+0
2021-05-19Refactor search, prepare for pre-built indexingAlex Shpak6-63/+47
2021-05-19Regression, fix menu reset scriptAlex Shpak1-1/+1
2021-05-06Fixed ineffective "disableHugoGeneratorInject" parameter (#337)Nikolay Raspopov1-4/+0
Fixed issue #336. HUGO does not use `{{ hugo.Generator }}` placeholder anymore.
2021-05-03#281, Copy code block content on clickAlex Shpak2-0/+26
2021-05-03Update MermaidJS exampleAlex Shpak1-22/+17
2021-05-03Update archetypesAlex Shpak2-2/+5
2021-05-03Imporove sectiopn shortcode exampleAlex Shpak8-6/+16
2021-05-03Improve posts title renderingAlex Shpak4-6/+6
2021-05-03#286, Add ability to set image for postsAlex Shpak6-7/+13
2021-05-03collapsed menu right arrow, uncollapsed down arrow (#332)Pim Snel2-1/+8
2021-05-03add Traditional Chinese i18n translation (#335)Hsin-Hsiang Peng1-0/+20
Add the Traditional Chinese i18n translation for language code "zh-TW". Ref: https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303
2021-04-11change master to github's new default main branch (#325)Pim Snel2-2/+2
2021-04-11Add custom commit path for last edited link (#319)Collin Brooks4-1/+23
- A new `BookCommitPath` paramter was added that allows the 'commit' portion of the link to a page's last edited commit hash to be specified. - This is useful when github is not the default repository for a project. Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-04-11Add documentation for mermaid init config override (#317)Collin Brooks2-0/+9
* Add documentation for mermaid init config override * Capitalize Mermaid Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-03-08Mj abuz patch 2 (#314)Abu Zafar2-0/+93
* Create bn.yml Adding Bengali (BN) * Create _index.md Bengali(BN) * Rename bn.yml to bn.yaml Typo Mistake
2021-02-22Bug Fix: Empty .Site.Params.contentDir (#312)Caleb Jasik1-1/+1
* Bug Fix: Empty .Site.Params.contentDir When .Site.Params.contentDir is left as the default: "content", calling .Site.Params.contentDir returns nothing, or maybe an empty string. To fix this, we set a default value for .Site.Params.contentDir to "content" and the url is built correctly. * Use the `default` function instead of `or` https://gohugo.io/functions/default/
2021-02-19Let's enable markdown in the button title (#308)Nikolay Raspopov1-1/+1
Added " | markdownify" to the inner text of button.
2021-02-03Added default dir="ltr" (#307)Nikolay Raspopov1-2/+2
Added default (i.e. "ltr") value of "dir" attribute of "html" and "body" tags instead of empty.
2021-01-29Set BookTranslatedOnly to false for example siteAlex Shpak2-2/+2
2021-01-26Refactor aside menus, add extra wrapperAlex Shpak6-19/+22
2021-01-26Add before and after partials for toc (#296)Tiger Oakes7-19/+25
Closes #257
2021-01-26upgrade mermaidjs to v8.9.0 (#305)Ayush Agarwal1-22/+5
this fixes the following issue https://github.com/mermaid-js/mermaid/issues/1836 the sha256sum of mermaid.min.js downloaded from the following link as on 2021-01-26 09:36:19 UTC https://unpkg.com/mermaid@8.9.0/dist/mermaid.min.js is 910e77c953c7417fd61148fc61b175624001bdd3c6e977e228fcb30607f7bd42
2021-01-21Add OnlyTranslated property (#303)Alex Ivanov3-2/+13
* Add OnlyTranslated property Signed-off-by: Alex Ivanov <ai@contributor.pw> * Add newlines Signed-off-by: Alex Ivanov <ai@contributor.pw> * rename property Signed-off-by: Alex Ivanov <ai@contributor.pw>
2020-12-23Adding Turkish translations (#300)Yağızhan1-0/+14
* Create tr.yaml * Update tr.yaml Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2020-11-14Add hugo.Generator (#290)Shohei Ueda1-0/+1
https://gohugo.io/functions/hugo
2020-11-14Improve GitHub Actions workflow (#289)Shohei Ueda1-22/+13
- Use the strategy.matrix syntax - Use peaceiris/actions-hugo: https://github.com/peaceiris/actions-hugo
2020-09-22Fix styles on flat and collapsed sectionAlex Shpak3-3/+4
2020-09-22Set default value for color scheme to lightAlex Shpak1-1/+1
2020-09-15#242, Add bookSearchExclude frontmatter paramAlex Shpak2-24/+30
2020-09-14#231, Allow open collapsed menu without changing pageAlex Shpak6-40/+23