Commit Graph

510 Commits

Author SHA1 Message Date
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
Alex Shpak fbb94a56b2 Remote resources folder, not needed for demo sites anymore 2025-01-31 00:09: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 e4c062890b Switch to font-display: fallback to reduce flickering 2024-10-09 17:05:20 +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 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
loikein 15c85acfcd
add number for mobile toc, fix order for nested titles (#555)
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2024-10-04 15:32:07 +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 69886cc74b Update favicon, move to separate shortcode for customization 2024-10-04 10:59:28 +02:00
Alex Shpak e585c86a81 Update Roboto font and use optional swap 2024-10-03 13:59:55 +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
Alex Shpak a424a062ca #489: use Rel or Permalink depending on if site is multihost 2024-10-02 16:34:48 +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 35bf672b70 Use .InnerDeindent in inline shortcodes 2024-10-02 12:02:41 +02:00
Alex Shpak 2b7b9c3c79 #640: fix line number alignment in code block 2024-10-02 01:45:03 +02:00
anatawa12 657807f879
fix: hreflang for link rel=alternate uses site language code (#654) 2024-10-01 23:37:54 +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
Alex Shpak 3f6dec2482 Bump KaTeX to 0.16.11 2024-10-01 22:50:27 +02:00
Alex Shpak e6d4fbc186 Upgarde mermaidjs to 11.2.1 2024-10-01 22:45:51 +02:00
FuadEfendi 94edf47a12
Fix for spaces being removed during "minify" build for "mermaid" snippet (#613)
"mindmap" style is not rendered correctly with "--minify"  because spaces are removed from final HTML
2024-10-01 22:24:24 +02:00
Rojax 8d56f3fe84
fix: Fixed edit page support for multilang books (#630) 2024-10-01 22:17:03 +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
Andreas Deininger e54cf3e6d1
Fix deprecation warnings, upgrade to hugo 0.134 (#653) 2024-10-01 21:52:34 +02:00
Michael Schmetter 3588e36948
Update README.md, fixing broken link (#655) 2024-10-01 21:51:36 +02:00
Daniël van de Giessen c19a0a60ff
Add Dutch translations (#631) 2024-09-02 15:03:12 +02:00
Leo Heitmann Ruiz 8e66fc7613
Fix link in README (#618) 2024-09-02 14:58:01 +02:00
Alex Shpak 7c26d9b8b7 Update minimum hugo version in README 2024-05-18 13:14:20 +02:00
Alex Shpak e104a11f42 #582, use time.Format for date formatting 2024-05-18 12:48:43 +02:00
Alex Shpak 90eab4a917 #591, hide search field if JS is not enabled 2024-05-18 12:44:13 +02:00
Alex Shpak ecbe879801 Set minimum hugo version to 0.124 2024-05-18 12:36:23 +02:00
Rajesh Duggal eff55ecd56
Change "config.toml" to "hugo.toml" in the README.md documentation (#596) 2024-05-18 12:32:29 +02:00
Eitan Adler 1c78b920b0
replace .Site.IsMultiLingual with hugo.IsMultilingual (#609)
# Problem

The warning
```
INFO  deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0
and will be removed in a future release. Use hugo.IsMultilingual
instead.``

shows up

# Solution

Follow the deprecation warning
2024-05-18 12:31:58 +02:00
wenbingzhang 1c42a96572
Replace flexsearch with fusejs (#600)
Co-authored-by: 张文兵 <wenbing@mgtv.com>
2024-05-18 12:29:55 +02:00