Commit Graph

552 Commits

Author SHA1 Message Date
Alex Shpak 564c0b07ad #757, show landing page menu based of page layout 2025-09-03 22:22:48 +02:00
Дилян Палаузов 20898b98f4 i18n: Add Bulgarian translation (#754) 2025-09-01 13:26:23 +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 29f739c9e0 Align text in markdown tables to 'start' 2025-08-25 23:55:46 +02:00
Alex Shpak c339499bac Switch from normalize.css to modern-normalize 2025-08-25 23:49:46 +02:00
Alex Shpak 80da168330 Do not enforce landing page by default 2025-08-15 09:55:59 +02:00
Alex Shpak fee7e46da7 Remove unnecessary 'important' in styles 2025-08-09 12:52:50 +02:00
Alex Shpak ea6e43ddfc Replace images in cards with svg placeholder 2025-08-09 12:38:34 +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 d49d64f3c1 Add back BookRepo parameter for backward compatibility 2025-08-04 10:16:49 +02:00
Alex Shpak 8e00763e8b Update BaseURL in github pages deployment 2025-08-04 01:18:59 +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 7bd4d673cc Change deploy workflow to use themesDir 2025-08-02 23:43:07 +02:00
Alex Shpak 544a0f0ce4 Create workflow for Github Pages 2025-08-02 23:41:19 +02:00
Alex Shpak 259ca06419 Update Material Symbols icons 2025-08-01 18:15:01 +02:00
Alex Shpak e3143d570b Update Fuse search to v7.1.0 2025-08-01 17:32:24 +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 cfdff18686 Align and animate expandable items (details, menu) 2025-08-01 11:38:46 +02:00
jrpie b47fa17980 use fonts from static/fonts instead of google fonts (#724)
* use fonts from static/fonts instead of google fonts
* update fonts
* Change font path to relative, remove some fonts

---------

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2025-08-01 00:14:06 +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
Tyco 8f7f4ede2b Create sw.yaml (#732)
* Create sw.yaml

* Fix yaml

---------

Co-authored-by: Tyco <stullah@proton.me>
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2025-07-31 23:36:30 +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
Micah R Ledbetter 81ff5e37d6 Add BookFavicon param to readme (#726) 2025-07-20 11:58:08 +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
Alex Shpak 2acd86a6c2 Update versioning convention 2025-05-30 21:15:31 +02:00
Blackspirits 0c86b5d29d Create pt-BR.yaml (#717) 2025-05-27 23:26:53 +02:00
Blackspirits b8b6ee67b6 Update pt.yaml (#715) 2025-05-27 23:26:24 +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
Alex Shpak 5cff108b34 #704, Add he translation 2025-04-29 00:29:21 +02:00
Alex Shpak b6a819ccc8 Remove generated resources from git 2025-04-29 00:02:19 +02:00
Alex Shpak 35dd2a7748 #705, Upgrade mermaidjs to 11.6.0 2025-04-28 23:55:54 +02:00
Micah R Ledbetter 115a94122e Add scrollbar-gutter: stable (#703) 2025-04-07 15:42:04 +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
Paweł Sobótka 95bef1b75f i18n: Add Polish translations (#690)
This adds Polish (PL/🇵🇱) translations within i18n directory.
2025-04-07 15:17:44 +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 645c868cec Hotfix: tabs: improve unique id serialization 2025-02-03 23:19:43 +01:00
ensag-dev fb701f6f7f i18n: Create oc.yaml (#682) 2025-01-31 00:20:22 +01:00
Alex Shpak 4ebdff516a Add resources to gitignore 2025-01-31 00:10:01 +01:00