Commit Graph

6 Commits

Author SHA1 Message Date
David Karlsson 5e4fc68d6e hugo: use i18n string for 'caution' alerts
While we don't currently use the caution alert anywhere yet, we should
still be consistent in using i18n strings for these (not `title
.AlertType`).

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 15:08:38 +02:00
David Karlsson ea6246b059 hugo: use render hook for callouts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-16 10:28:48 +02:00
David Karlsson 46a3512a54 hugo: css overhaul
- Remove manual breakpoint definitions and use tailwind defaults
- Fix various overflow and other rendering issues

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-24 18:14:02 +02:00
David Karlsson 43e3ccc197 feat: add "introduced" shortcode
The introduced shortcode takes three arguments:

- component id (as defined in site.Params)
- version (should be semver except for engine api)
- link (optional) to e.g. release note

The component and version argument is compared against the min threshold
set in site config.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-20 15:04:55 +01:00
David Karlsson 28e564187c site: remove "reading time" indicator
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-15 17:29:17 +01:00
David Karlsson a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00