summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-11README.md: fix link path to content.en (#497)Gerasimos (Makis) Maropoulos1-1/+1
2022-11-03#445, Upgrade mermaid to 9.2.0Alex Shpak1-12/+1260
2022-11-03Bump minimal hugo version to 0.79Alex Shpak2-3/+3
2022-11-02#441, add menu.params.class supportAlex Shpak1-1/+1
2022-11-02#352: move english content to content.enAlex Shpak29-2/+2
2022-11-02#452: Put double comments on shortcodesAlex Shpak4-6/+6
2022-10-05(MAINT) Respect LinkTitle in page metadata (#483)Mikey Lombardi (He/Him)1-1/+3
Prior to this commit, the partial for determining a page title used the `Title` property of a page, if present, or humanized and titleized the file name if not. It did not use the `LinkTitle` property at all (defined in the [front matter][01]). According to the [menu documentation][02]: > The following order is used to determine an Identifier: > > `.Name > .LinkTitle > .Title` > > This means that `.Title` will be used unless `.LinkTitle is present, > etc. Similar, the documentation for [menu entry variables][03] states: > The `name` key, if set for the menu entry, sets this value. If that > key is not set, and if the menu entry is set in a page front-matter, > this value defaults to the page's `.LinkTitle`. Together, these imply that if `.LinkTitle` is specified, it should be preferred over `.Title` for the generated nav menu. [01]: https://gohugo.io/content-management/front-matter/ [02]: https://gohugo.io/content-management/menus/#nesting [03]: https://gohugo.io/variables/menus/#menu-entry-variables
2022-08-02Remove left pagination spacing (#467)Dongliang Yin1-0/+1
2022-07-04Ignore code block clicks with active selection (#448)Alexander Danilov1-0/+3
2022-04-26Add .hugo_build.lock to .gitignoreAlex Shpak1-0/+1
2022-04-26#440L Adjust bookHref, check .Content again, add redirectAlex Shpak5-9/+17
2022-04-26Add BookHref, set explicit URL for the menu (#440)Horea Christian1-1/+5
2022-04-26Add Amharic language translations (#444)Leone G1-0/+14
2022-02-18Make menu entries' link relative (#421)Giuseppe Masino1-2/+2
This change allows hugo to build pages correcly when `canonifyURLs = false` and `relativeURLs = true`. Otherwise the links on the menu will be canonicalized regardless of configuration. This results in broken sites in a number of situations, such as sites served behind a reverse-proxy that don't want to account for the prefix they're served under.
2022-02-14REDAME: Katex to KaTeX (#416)Andreas Deininger1-1/+1
2022-01-13#408, #410: Use LanguageCode in templates if specifiedAlex Shpak2-3/+3
2022-01-13Prevent breaked-lines in <p> (#404)shawn.ye1-0/+4
2021-12-01Updating book to hugo-book in README (#394)Samuel Redai1-1/+1
Looks like the path `/book/` in the readme should be `/hugo-book/`.
2021-11-19#385: Do not focus search field if current element has valueAlex Shpak1-0/+4
2021-11-19Rename theme in readmin to hugo-book (#386)QIN2DIM1-5/+5
* Update README.md * Update README.md Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-10-19#369, switch to google_analytics.html internal templateAlex Shpak1-1/+1
2021-10-19Removed extra Google Analitics include (#389)Nikolay Raspopov1-1/+0
It's already included via "docs/html-head" partial.
2021-09-27Allow site title to be customised via parital (#384)Jack Morgan3-4/+7
* Allow site title to be customised via parital * Modify readme to highlight available partials * Rename template for consistency * Move title tags to head partial
2021-09-26add color-scheme to head-html (#387)xhdix1-0/+1
2021-09-11Add hugo init to install instructionsAlex Shpak1-9/+11
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