Commit Graph

250 Commits

Author SHA1 Message Date
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 be741b0148 Move asciinema out of experimental 2026-03-15 21:21:29 +01:00
Alex Shpak 1fbfd080b9 Replace dark theme with Nord, introduce more color themes as scss plugin, experimental for now 2026-03-15 19:34:56 +01:00
nick n. b7f9c8cb0f details shortcode: add example of both alternatives (#783)
* details shortcode: add example of both alternatives
readme: mention steps shortcode, move katex alpha order
steps: use 1. instead of fixed numbers

* roll back steps.md

* positional vs argument. bonus typo fix
2025-11-18 08:48:54 +01:00
Eitan Adler e08d9b796d remove a a duplicated word in example site (#787)
I found this when looking for duplicative words in my own use.
2025-11-17 15:49:00 +01:00
Alex Shpak 836a8a82d6 Improve consistency of handling shrotcode attributes 2025-10-12 13:27:05 +02:00
nick n. 0593f02604 Update readme with main branch, update config examples (#771) 2025-10-06 23:33:32 +02:00
Alex Shpak 9a9f4925d6 Add standard spacing to asciinema shortcode 2025-09-28 23:16:30 +02:00
Alex Shpak 8db9aeb2c8 Fix a type on landing page 2025-09-28 00:40:33 +02:00
Alex Shpak f529ee023c Update landing page texts 2025-09-28 00:37:01 +02:00
Alex Shpak c1f34cc239 Add portable links support to Card shortcode 2025-09-27 23:03:34 +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 7960aa3672 Update code highlight theme in exampleSite to base16-snazzy 2025-09-26 23:58:05 +02:00
nick n. 88a7b84c71 fix examplesite shortcodes link (#768) 2025-09-26 23:44:44 +02:00
Alex Shpak 634e29de19 Prepare v12 release 2025-09-26 22:49:02 +02:00
Alex Shpak e55b914050 Move new shortcodes: image, card, asciinema, badge into experimental folder 2025-09-26 21:47:19 +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 fe67dfeed1 Add experimental Asciinema support 2025-09-25 17:08:11 +02:00
Alex Shpak 9d6ad30e9e Mark badges as experimental 2025-09-23 23:58:28 +02:00
Alex Shpak 95cee40b0f Use anchor heading attribute instead of bookHeadingAnchor 2025-09-23 00:14:45 +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 c8238fd893 Remove figure support form card shortcode styles 2025-09-21 02:20:15 +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 6c2d102c91 Make button shortcode use portable links 2025-09-14 23:38:46 +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 80da168330 Do not enforce landing page by default 2025-08-15 09:55:59 +02:00
Alex Shpak ea6e43ddfc Replace images in cards with svg placeholder 2025-08-09 12:38:34 +02:00
Alex Shpak 47223753a2 Introduce landing page and card shortcode 2025-08-09 00:56:37 +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 d49d64f3c1 Add back BookRepo parameter for backward compatibility 2025-08-04 10:16:49 +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
Alex Shpak b6a819ccc8 Remove generated resources from git 2025-04-29 00:02:19 +02:00
Vadim (vadcx) 6c86dcfdc6 Docs: Change tabs shortcode example to permit unsafe=false (#689)
The syntax of `{{% code %}}` only expects Markdown inside. That's why it
triggers unsafe warning, if used as a shortcode template.

Instead the only the top table shortcode should be used as
`{{< tabs >}}` to include the HTML, while the user may use only
`{{% tab "Name" %}}` inside and be happily restricted to Markdown.

https://gohugo.io/methods/page/rendershortcodes/#shortcode-notation
https://github.com/InfosecForActivistsTeam/infosec-activists/pull/45
2025-04-07 15:17:19 +02:00
Alex Shpak 60f4c03b8b #672: Add tabs unique ID for nested tabs, uses .Ordinal by default 2025-01-30 22:03:07 +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 21e7727a0e Update generated styles 2024-10-04 15:35:43 +02:00
Alex Shpak a5fdf88017 let numbered plugin count nested headings 2024-10-04 15:35:02 +02:00
Alex Shpak d008a21049 Fix syntax in Katex markdown file 2024-10-04 13:41:30 +02:00
Alex Shpak 9cc0b0225d #422, add support for column ratios in shortcode 2024-10-04 13:36:14 +02:00