Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-02 | #441, add menu.params.class support | Alex Shpak | 1 | -1/+1 | |
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-04-26 | #440L Adjust bookHref, check .Content again, add redirect | Alex Shpak | 2 | -6/+10 | |
2022-04-26 | Add BookHref, set explicit URL for the menu (#440) | Horea Christian | 1 | -1/+5 | |
2022-02-18 | Make menu entries' link relative (#421) | Giuseppe Masino | 1 | -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-01-13 | #408, #410: Use LanguageCode in templates if specified | Alex Shpak | 2 | -3/+3 | |
2021-10-19 | #369, switch to google_analytics.html internal template | Alex Shpak | 1 | -1/+1 | |
2021-10-19 | Removed extra Google Analitics include (#389) | Nikolay Raspopov | 1 | -1/+0 | |
It's already included via "docs/html-head" partial. | |||||
2021-09-27 | Allow site title to be customised via parital (#384) | Jack Morgan | 2 | -1/+2 | |
* 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-26 | add color-scheme to head-html (#387) | xhdix | 1 | -0/+1 | |
2021-08-30 | #370: Allow markdown in details shortcode, also change markdownify to โต | Alex Shpak | 4 | -5/+6 | |
RenderString in other shortcodes | |||||
2021-08-18 | #343, #165: Move lang selector to left menu | Alex Shpak | 4 | -22/+25 | |
2021-07-20 | issues 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-05-21 | #285, skip integrity attribute if site is built without hostname | Alex Shpak | 1 | -3/+9 | |
2021-05-21 | Add deprecation notice for menu bundle | Alex Shpak | 1 | -0/+1 | |
2021-05-20 | Prefer existing and translated variant of home page (#342) | Nikolay Raspopov | 1 | -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-20 | Fix lighthouse remarks: icon sizes, noopener | Alex Shpak | 2 | -2/+2 | |
2021-05-19 | Refactor search, prepare for pre-built indexing | Alex Shpak | 1 | -9/+10 | |
2021-05-06 | Fixed ineffective "disableHugoGeneratorInject" parameter (#337) | Nikolay Raspopov | 1 | -4/+0 | |
Fixed issue #336. HUGO does not use `{{ hugo.Generator }}` placeholder anymore. | |||||
2021-05-03 | #281, Copy code block content on click | Alex Shpak | 1 | -0/+5 | |
2021-05-03 | Imporove sectiopn shortcode example | Alex Shpak | 1 | -1/+1 | |
2021-05-03 | Improve posts title rendering | Alex Shpak | 4 | -6/+6 | |
2021-05-03 | #286, Add ability to set image for posts | Alex Shpak | 2 | -3/+11 | |
2021-05-03 | collapsed menu right arrow, uncollapsed down arrow (#332) | Pim Snel | 1 | -1/+0 | |
2021-04-11 | Add custom commit path for last edited link (#319) | Collin Brooks | 1 | -1/+2 | |
- 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-02-22 | Bug Fix: Empty .Site.Params.contentDir (#312) | Caleb Jasik | 1 | -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-19 | Let's enable markdown in the button title (#308) | Nikolay Raspopov | 1 | -1/+1 | |
Added " | markdownify" to the inner text of button. | |||||
2021-02-03 | Added default dir="ltr" (#307) | Nikolay Raspopov | 1 | -2/+2 | |
Added default (i.e. "ltr") value of "dir" attribute of "html" and "body" tags instead of empty. | |||||
2021-01-26 | Refactor aside menus, add extra wrapper | Alex Shpak | 2 | -5/+7 | |
2021-01-26 | Add before and after partials for toc (#296) | Tiger Oakes | 3 | -1/+5 | |
Closes #257 | |||||
2021-01-21 | Add OnlyTranslated property (#303) | Alex Ivanov | 1 | -2/+5 | |
* 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-11-14 | Add hugo.Generator (#290) | Shohei Ueda | 1 | -0/+1 | |
https://gohugo.io/functions/hugo | |||||
2020-09-14 | #231, Allow open collapsed menu without changing page | Alex Shpak | 1 | -10/+13 | |
2020-08-16 | #204, Add mermaid config customization, upgrade mermaidjs | Alex Shpak | 1 | -5/+3 | |
2020-07-07 | Improve accessibility and keyboard navigation | Alex Shpak | 2 | -6/+6 | |
2020-05-31 | Add section shortcode, to render children | Alex Shpak | 1 | -0/+10 | |
2020-05-30 | Add anchors to headings | Alex Shpak | 2 | -1/+5 | |
2020-05-25 | - hide ToC icon in header if ToC not enabled (#225) | Vincent Vialard | 1 | -0/+2 | |
2020-05-18 | #215, Fix menu translateX for RTL (negative X) | Alex Shpak | 2 | -2/+2 | |
2020-05-17 | #215, Add support for languageDirection param | Alex Shpak | 1 | -1/+1 | |
2020-05-01 | Add manifest | Alex Shpak | 2 | -1/+5 | |
2020-04-28 | #212, Fix use of IsAncestor after hugo breaking change | Alex Shpak | 1 | -1/+1 | |
2020-04-24 | #207, Fix whitespaces again, in shortcodes inside shortcodes | Alex Shpak | 1 | -2/+2 | |
2020-04-21 | #205, Add details shortcode | Alex Shpak | 2 | -0/+7 | |
2020-04-16 | Edit this page content dir lang independent (#202) | tyler71 | 1 | -1/+1 | |
#200 | |||||
2020-04-15 | 404 Page redesign | Alex Shpak | 1 | -4/+18 | |
2020-04-14 | #197, Use RelPermalink to identify nested pages in collapsed menu | Alex Shpak | 1 | -3/+4 | |
2020-04-12 | Introduce serviceWorker, disabled by default | Alex Shpak | 1 | -1/+6 | |
2020-04-11 | Refactor KaTeX shortcode, remove whitespaces and fix font size | Alex Shpak | 1 | -8/+8 | |
2020-04-11 | #157, Refactor side menu, simpler and renders all pages at root | Alex Shpak | 3 | -49/+23 | |