aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs
AgeCommit message (Collapse)AuthorFilesLines
2022-12-03Add footer with text detailsAdmin1-0/+11
2022-11-02#441, add menu.params.class supportAlex Shpak1-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 redirectAlex Shpak2-6/+10
2022-04-26Add BookHref, set explicit URL for the menu (#440)Horea Christian1-1/+5
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-01-13#408, #410: Use LanguageCode in templates if specifiedAlex Shpak1-1/+1
2021-10-19#369, switch to google_analytics.html internal templateAlex Shpak1-1/+1
2021-09-27Allow site title to be customised via parital (#384)Jack Morgan2-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-26add color-scheme to head-html (#387)xhdix1-0/+1
2021-08-18#343, #165: Move lang selector to left menuAlex Shpak4-22/+25
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 Shpak1-1/+1
2021-05-19Refactor search, prepare for pre-built indexingAlex Shpak1-9/+10
2021-05-03#281, Copy code block content on clickAlex Shpak1-0/+5
2021-05-03Improve posts title renderingAlex Shpak1-3/+3
2021-05-03#286, Add ability to set image for postsAlex Shpak1-0/+10
2021-05-03collapsed menu right arrow, uncollapsed down arrow (#332)Pim Snel1-1/+0
2021-04-11Add custom commit path for last edited link (#319)Collin Brooks1-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-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-01-26Refactor aside menus, add extra wrapperAlex Shpak1-0/+2
2021-01-26Add before and after partials for toc (#296)Tiger Oakes2-0/+0
Closes #257
2021-01-21Add OnlyTranslated property (#303)Alex Ivanov1-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-09-14#231, Allow open collapsed menu without changing pageAlex Shpak1-10/+13
2020-05-25- hide ToC icon in header if ToC not enabled (#225)Vincent Vialard1-0/+2
2020-05-18#215, Fix menu translateX for RTL (negative X)Alex Shpak1-1/+1
2020-05-01Add manifestAlex Shpak2-1/+5
2020-04-28#212, Fix use of IsAncestor after hugo breaking changeAlex Shpak1-1/+1
2020-04-16Edit this page content dir lang independent (#202)tyler711-1/+1
#200
2020-04-14#197, Use RelPermalink to identify nested pages in collapsed menuAlex Shpak1-3/+4
2020-04-12Introduce serviceWorker, disabled by defaultAlex Shpak1-1/+6
2020-04-11#157, Refactor side menu, simpler and renders all pages at rootAlex Shpak1-46/+21
2020-04-10#162, Add docs/date partial, for date customizationAlex Shpak3-4/+9
2020-04-03#187, Use .Permalink for lang switch, align iconsAlex Shpak1-3/+2
2020-04-02#188, Add hreflang metadata to html headAlex Shpak1-3/+7
2020-03-31#186, Make title generation cross-platformAlex Shpak1-2/+1
2020-03-30Fix current page highlight in new Hugo versionAlex Shpak1-3/+3
2020-03-19#140, Use new GetTerms function to fix tag titlesAlex Shpak1-6/+4
2020-03-13#177, #176 Simplify description in html headAlex Shpak1-1/+1
2020-03-13prioritize more related parameters for description #176 (#177)undergroundwires1-1/+2
2020-03-01#155, Do not show collapse indicator in non-section pagesAlex Shpak1-1/+1
2020-02-29#155, Add expand indicator in collapsed sectionAlex Shpak1-9/+10
2020-02-23#150, Add content-before and content-after inject partialsAlex Shpak2-0/+0
2020-02-23Simplify post meta templateAlex Shpak1-5/+0
2020-02-22#150, Add support for menu nesting (before, after menus)Alex Shpak1-0/+7
2020-02-12Add support for hugo menusAlex Shpak3-0/+28
2020-02-10#141, Add page counters to taxonomy side menuAlex Shpak1-1/+2
2020-02-10Make translations list respect weight of languagesAlex Shpak1-6/+6