Commit Graph

277 Commits

Author SHA1 Message Date
Alex Shpak df16ce0ba7 #762, bring back markdown rendering to details shortcode summary 2025-09-23 15:55:20 +02:00
Alex Shpak 95cee40b0f Use anchor heading attribute instead of bookHeadingAnchor 2025-09-23 00:14:45 +02:00
Alex Shpak 6ba59e191d Add experimental icons support in menus, move icons to assets folder 2025-09-22 23:47:25 +02:00
Alex Shpak 69fb3210e8 Simplify and align detection of remote links 2025-09-21 22:29:59 +02:00
Alex Shpak 79001ff6f3 Improve hugo menu handling, add active class to current menu entity, name now takes over page title 2025-09-21 22:22:19 +02:00
Alex Shpak d08e17457f Add geenrated resources to be pre-cached by service worker 2025-09-21 19:53:13 +02:00
Alex Shpak d7cab414a7 #676, Add support for copytight hugo configuration 2025-09-21 02:06:44 +02:00
Alex Shpak 6f472b3009 #692, #723: Redesign blog, add thumbnails support and pagination 2025-09-18 10:12:03 +02:00
Alex Shpak 2745893250 Add filename option to codeblocks 2025-09-14 23:49:47 +02:00
Alex Shpak 6c2d102c91 Make button shortcode use portable links 2025-09-14 23:38:46 +02:00
Alex Shpak e379c19e75 Remove book-icon class from footer links 2025-09-13 09:45:05 +02:00
Alex Shpak ed5a3f10e9 mermaid shortcode: replace Scratch with Store 2025-09-10 08:38:51 +02:00
Alex Shpak 3d55d45223 Make sure ToC is showed in terms, set bookToC to be none by default 2025-09-10 06:43:58 +02:00
Alex Shpak 249682f9dd Introduce expandable image shortcode, improve portable links logic 2025-09-08 20:04:04 +02:00
Alex Shpak dbaaa516e8 Add dropdown menu option for landing page 2025-09-04 00:17:38 +02:00
Alex Shpak 564c0b07ad #757, show landing page menu based of page layout 2025-09-03 22:22:48 +02:00
Дилян Палаузов 42fa69c15d toc-show.html: enforce default value true for .Site.Params.BookToc (#755) 2025-09-01 13:25:53 +02:00
Alex Shpak 80da168330 Do not enforce landing page by default 2025-08-15 09:55:59 +02:00
Alex Shpak 2b389f96ea #753, fix url cleaning for git urls 2025-08-09 01:02:44 +02:00
Alex Shpak 47223753a2 Introduce landing page and card shortcode 2025-08-09 00:56:37 +02:00
Alex Shpak b3322d7bae Update layouts structure to match hugo 0.146.0 2025-08-07 13:18:21 +02:00
Alex Shpak 722c81beb0 Only use link color on elements with 'href', plus some cleanup 2025-08-07 09:46:40 +02:00
Alex Shpak 45d90424ab Add Github style blockquote alerts support 2025-08-06 15:18:33 +02:00
Alex Shpak 9b6c1692fc Introduce 'steps' shortcode 2025-08-06 15:16:47 +02:00
Alex Shpak 2c8c093a30 Re-implement columns shortcode as markdown list 2025-08-05 13:29:30 +02:00
Alex Shpak 5f2dbb76fa Make sure that edit and commit URls are clean 2025-08-04 13:07:05 +02:00
James 0f5ecb6433 Update footer.html (#718) 2025-08-04 11:43:51 +02:00
Alex Shpak 470d619e1d Introduce Badge shortcode 2025-08-04 01:17:28 +02:00
Alex Shpak 2b0d7ffa26 Breaking Change: replace BookEditPath with BookLastChangeLink and BookEditLink tempaltes 2025-08-03 21:40:39 +02:00
Alex Shpak 523b80fdb4 Rewrite Mermaid and KaTeX to be usable both from shorcode and code block, update dependencies 2025-08-01 13:42:59 +02:00
Charles-Philippe 028a463214 Added support for ```mermaid (#729)
* Added support for ```mermaid
* Fixed issue when no shortcode mermaid is present
* Change block render to match shortcode
* Remove mermaid logic from base

---------

Co-authored-by: CharlesPhilippeLabbe <c.p@o-possum.com>
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2025-07-31 23:51:26 +02:00
Alex Shpak 9181135505 Feature: Add next and previous page links (#747)
* Rewrite prev-next with enw lang. selector
* Make sure next page stays on right side
* Align icon styles
2025-07-31 23:18:41 +02:00
Alex Shpak 92579b2c72 #693, Hide ToC aside menu if table of contents is empty 2025-07-20 12:47:09 +02:00
Alex Shpak f2c703e155 Adjust templates layout for hugo 0.146, potentially breaking change 2025-05-31 01:38:33 +02:00
Alex Shpak 24d3465980 Adjust styles to look like existing spacing 2025-05-31 00:54:49 +02:00
Daniël van de Giessen 9405c4c3d7 fix: links to fragment on same page should not be made portable (#707) 2025-04-29 00:40:46 +02:00
sfavazza 8aa692f195 fix: correct hint shortcodes rendering in lists (#699)
Co-authored-by: Samuele Favazza <samuele.favazza@duagon.com>
2025-04-07 15:38:25 +02:00
gobai 44fa55ddde fix: change article title from h2 to h1 in single.html (#694)
Signed-off-by: go-bai <599500688@qq.com>
2025-04-07 15:25:20 +02:00
Alex Shpak 645c868cec Hotfix: tabs: improve unique id serialization 2025-02-03 23:19:43 +01:00
Alex Shpak 60f4c03b8b #672: Add tabs unique ID for nested tabs, uses .Ordinal by default 2025-01-30 22:03:07 +01:00
mvtango f889e52566 Three hugo deprecations (#664)
* as per deprecation note: ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Use hugo.IsMultilingual instead.

* as per deprecation note: ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Use hugo.IsMultilingual instead.

* deprecated: .Sites.First was deprecated in Hugo v0.127.0 and will be removed in a future release.

* as per deprecation note: ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0. Use hugo.IsMultilingual instead.

* resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.

* ignore ressources from example site
2025-01-29 02:46:56 +01:00
Alex Shpak 7c78a39c53 Align spacings and colors in titles and buttons 2024-10-09 23:27:54 +02:00
Alex Shpak 2b7a0e87c3 Deprecate section shortcode 2024-10-08 15:50:46 +02:00
Alex Shpak f8a0e8976b Rewrite tabs shortcode to make them simpler 2024-10-08 15:49:39 +02:00
Alex Shpak 1bda9fb34d Introduce i18n shortcode to add translated strings to markdown pages 2024-10-08 13:57:33 +02:00
Alex Shpak a5fdf88017 let numbered plugin count nested headings 2024-10-04 15:35:02 +02:00
Alex Shpak 9cc0b0225d #422, add support for column ratios in shortcode 2024-10-04 13:36:14 +02:00
Alex Shpak 925dbd3b9f Breaking change: switch to '{{%' decorators in shortcodes to better support shortcode-in-shortcode 2024-10-04 11:29:44 +02:00
Alex Shpak 69886cc74b Update favicon, move to separate shortcode for customization 2024-10-04 10:59:28 +02:00
Alex Shpak 3f56e60b6d #414, Move commit and edit links to separate pertials to allow overwrites 2024-10-02 23:16:25 +02:00