Commit Graph

41 Commits

Author SHA1 Message Date
Alex Shpak fe5f41f15d #803, use page-level IDs for shortcodes 2026-05-16 23:47:34 +02:00
Alex Shpak 54f9ceeeee Use • for html title separator 2026-05-16 23:11:22 +02:00
Alex Shpak c59c9192a8 Big documentation rewrite, move docs to example site 2026-05-16 23:04:27 +02:00
Alex Shpak c6ef0a08c2 Breaking changes, rewrite; add support for plain text output and single page mode 2026-05-14 23:55:08 +02:00
Levente Polyak 4018d4b51d Menu: Allow to explicitly override if a menu url is remote or not (#809)
* Menu: Allow to explicitly override if a menu url is remote or not

This can be very useful if a hugo website f.e. on GitHub pages is
constructed from different individual spec repos but still represent
one coherent site.

* Rename param to bookNewTab

---------

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2026-05-10 23:33:57 +02:00
Alex Shpak 517600c158 Update and vendor dependencies: asciinema 3.15.1, fuse 7.3.0, katex 0.16.45, mermaid 11.14.0 2026-05-10 23:28:52 +02:00
Alex Shpak ae912cc38d Fix warning message for portable links, remove 'Image' from message 2026-04-23 17:10:19 +02:00
Alex Shpak 743b389f5d Add hidden page for nested shortcodes testing 2026-04-23 16:55:43 +02:00
Alex Shpak ddc76d8885 #806, fix 0.156 deprecations 2026-04-23 16:29:12 +02:00
Levente Polyak 97d7ee40ed Allow overriding the site global copyright with page local params (#810)
This is useful when certain sub pages may have a different copyright
than the entire rest of the site.
2026-04-08 13:39:43 +02:00
nick n. 4f0e89c4ed 0.158.0 deprecations (#805)
* 0.158.0 changes - using same capitalization as huge docs

* LanguageCode -> Locale
LanguageDirection -> Direction
LanguageName -> Label

* language.lang to language.name

* all changed functions added in 0.158.0
2026-04-07 19:57:40 +02:00
Alex Shpak a77c34a71c Fix meta color for dark theme, fix scrollbar plugin for Firefox 2026-03-15 20:05:08 +01:00
Naty 62e9e07d15 Refactor condition for Table of Contents display (#776)
Fix `bookToC` not responding to `true` or `false` globally (Hugo config) or locally (front matter) by simplifying the logic and making TOC behaviour consistent across all page types.
2025-10-18 01:12:45 +02:00
Alex Shpak 836a8a82d6 Improve consistency of handling shrotcode attributes 2025-10-12 13:27:05 +02:00
Alex Shpak 7f5bede532 Change logic on rendering or not ToC 2025-10-09 23:33:20 +02:00
Alex Shpak 6baf098e54 A lot of small changes improving keyboard navigation, readability and accesibility 2025-10-09 22:58:13 +02:00
nick n. 0593f02604 Update readme with main branch, update config examples (#771) 2025-10-06 23:33:32 +02:00
Alex Shpak f529ee023c Update landing page texts 2025-09-28 00:37:01 +02:00
Alex Shpak f207499922 Fix taxonomy template spacing, let taxonomies be translatable 2025-09-27 23:24:38 +02:00
Alex Shpak 6a134d4fe9 Add option to configure portable links behaviour: off, error or warning 2025-09-27 00:05:41 +02:00
Alex Shpak 915477e527 Review and update whitespaces in mermaid and KaTeX to improve shortcode nesting 2025-09-26 17:28:08 +02:00
Alex Shpak 5ffdf5bfaf Review and update whitespaces in shortcodes to improve shortcode nesting 2025-09-26 15:48:57 +02:00
Alex Shpak 48157b18c7 Better handle empty title, allow override for landing page 2025-09-25 23:37:53 +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 e379c19e75 Remove book-icon class from footer links 2025-09-13 09:45:05 +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
Дилян Палаузов 42fa69c15d toc-show.html: enforce default value true for .Site.Params.BookToc (#755) 2025-09-01 13:25:53 +02:00
Alex Shpak 2b389f96ea #753, fix url cleaning for git urls 2025-08-09 01:02:44 +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 2b0d7ffa26 Breaking Change: replace BookEditPath with BookLastChangeLink and BookEditLink tempaltes 2025-08-03 21:40:39 +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