Commit Graph

231 Commits

Author SHA1 Message Date
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
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 e585c86a81 Update Roboto font and use optional swap 2024-10-03 13:59:55 +02:00
Alex Shpak 31662538df Remove deprecated bundle/leaf menu type 2024-10-02 16:14:53 +02:00
Alex Shpak 2f64607bc9 Update pos list styles, remove self link from post 2024-10-02 13:25:16 +02:00
Alex Shpak 2b7b9c3c79 #640: fix line number alignment in code block 2024-10-02 01:45:03 +02:00
Alex Shpak b655b0b7b7 Add horizontal spacing between buttons 2024-10-01 23:34:25 +02:00
Alex Shpak 55c4c45c74 Remove 'expand' shortcode, use 'details' instead 2024-10-01 23:28:57 +02:00
Gram 460d44479b Auto-generate ID for tabs (#649) 2024-10-01 22:14:16 +02:00
Alex Shpak b25c58878c Bump minimum version in readme to 0.134 2024-10-01 22:07:11 +02:00
Alex Shpak ecbe879801 Set minimum hugo version to 0.124 2024-05-18 12:36:23 +02:00
Leo Heitmann Ruiz da22a41f60 Update link to hugo themes (#590) 2024-03-11 14:11:32 +01:00
Alex Shpak a111041867 #583, fix katex and mermaid examples with raw html 2024-02-17 18:57:02 +01:00
Andreas Deininger 5e15ddb4f4 Fix typos (#575) 2024-01-10 12:40:24 +01:00
Alex Shpak 3f1bcccbfb #543, Add summary param for section shortcode 2023-08-08 13:39:20 +02:00
auwsom e7155b473a Themes dir correction and peaceiris deploy to GitHub Pages (#506)
* commit

* commit

* remove push to /public

---------

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2023-08-08 13:08:03 +02:00
Alex Shpak 16f6203f90 #455, add BookFavicon parameter 2023-08-08 12:40:46 +02:00
Alex Shpak d86d5e70c7 Reset generated CSS in example site 2023-04-24 15:41:11 +02:00
Alex Shpak 26fee5551f #528: hotfix for search, until we find a reason 2023-04-24 15:40:42 +02:00
Alex Shpak 9013a1f457 #352: move english content to content.en 2022-11-02 23:28:30 +01:00