summaryrefslogtreecommitdiff
path: root/layouts
AgeCommit message (Collapse)AuthorFilesLines
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 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-30#370: Allow markdown in details shortcode, also change markdownify to โ†ตAlex Shpak4-5/+6
RenderString in other shortcodes
2021-08-18#343, #165: Move lang selector to left menuAlex Shpak4-22/+25
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-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 Shpak2-2/+2
2021-05-19Refactor search, prepare for pre-built indexingAlex Shpak1-9/+10
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 Shpak1-0/+5
2021-05-03Imporove sectiopn shortcode exampleAlex Shpak1-1/+1
2021-05-03Improve posts title renderingAlex Shpak4-6/+6
2021-05-03#286, Add ability to set image for postsAlex Shpak2-3/+11
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-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-26Refactor aside menus, add extra wrapperAlex Shpak2-5/+7
2021-01-26Add before and after partials for toc (#296)Tiger Oakes3-1/+5
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-11-14Add hugo.Generator (#290)Shohei Ueda1-0/+1
https://gohugo.io/functions/hugo
2020-09-14#231, Allow open collapsed menu without changing pageAlex Shpak1-10/+13
2020-08-16#204, Add mermaid config customization, upgrade mermaidjsAlex Shpak1-5/+3
2020-07-07Improve accessibility and keyboard navigationAlex Shpak2-6/+6
2020-05-31Add section shortcode, to render childrenAlex Shpak1-0/+10
2020-05-30Add anchors to headingsAlex Shpak2-1/+5
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 Shpak2-2/+2
2020-05-17#215, Add support for languageDirection paramAlex 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-24#207, Fix whitespaces again, in shortcodes inside shortcodesAlex Shpak1-2/+2
2020-04-21#205, Add details shortcodeAlex Shpak2-0/+7
2020-04-16Edit this page content dir lang independent (#202)tyler711-1/+1
#200
2020-04-15404 Page redesignAlex Shpak1-4/+18
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-11Refactor KaTeX shortcode, remove whitespaces and fix font sizeAlex Shpak1-8/+8
2020-04-11#157, Refactor side menu, simpler and renders all pages at rootAlex Shpak3-49/+23
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-30Fix mermaid scaling for flowchartAlex Shpak1-0/+5
2020-03-23Update mermaid to 8.4.8, move KaTeX to static folderAlex Shpak1-4/+3