From cbaff6008b9106f148ae737c630e92562cd6ee6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Bieniek?= Date: Fri, 15 May 2026 13:59:47 +0200 Subject: [PATCH 1/2] terms.md: trademark info --- content/terms.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/content/terms.md b/content/terms.md index 01fc898..27358b8 100644 --- a/content/terms.md +++ b/content/terms.md @@ -506,11 +506,16 @@ following legally binding terms: **Definitions:** {.terms__content-description} +* \- **Object Code** means machine readable computer programming code files, + which is not in a human readable form. * \- **AMD Licensed Software** means the proprietary binary software Object Code, - and associated documentation provided by Advanced Micro Devices, Inc. (“AMD”) - and incorporated into the Dasharo release. -* \- **Object Code** means machine readable computer programming code files, which - is not in a human readable form. + and associated documentation provided by Advanced Micro + Devices, Inc. (“AMD”) and incorporated into the Dasharo release. +{.terms__content-description} + +*AMD is a trademark of Advanced Micro Devices, Inc. OCP is a trademark of the +Open Compute Project Foundation. All other trademarks are the property of +their respective owners.* {.terms__content-description} **1. Restricted License & Hardware Limitation** The copy of the Object Code From 1a00ee5a0f29480aaac4eaeafa98a5183f6025ed Mon Sep 17 00:00:00 2001 From: Artur Raglis Date: Fri, 15 May 2026 15:28:47 +0200 Subject: [PATCH 2/2] themes/dasharo/layouts/_default/_markup/: add render-heading.html for anchor mechanism Signed-off-by: Artur Raglis --- themes/dasharo/assets/scss/_terms.scss | 23 +++++++++++++++++++ .../_default/_markup/render-heading.html | 1 + 2 files changed, 24 insertions(+) create mode 100644 themes/dasharo/layouts/_default/_markup/render-heading.html diff --git a/themes/dasharo/assets/scss/_terms.scss b/themes/dasharo/assets/scss/_terms.scss index cc80d0a..caffc8e 100644 --- a/themes/dasharo/assets/scss/_terms.scss +++ b/themes/dasharo/assets/scss/_terms.scss @@ -46,6 +46,29 @@ span { color: $grey; } + + .heading-anchor { + display: inline-flex; + align-items: center; + margin-left: 0.35em; + opacity: 0; + transition: opacity 0.2s ease; + color: $grey; + text-decoration: none; + vertical-align: middle; + + svg { + fill: currentColor; + } + + &:hover { + color: $greenTwo; + } + } + + &:hover .heading-anchor { + opacity: 1; + } } .terms__content-description { diff --git a/themes/dasharo/layouts/_default/_markup/render-heading.html b/themes/dasharo/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..0095158 --- /dev/null +++ b/themes/dasharo/layouts/_default/_markup/render-heading.html @@ -0,0 +1 @@ +{{ $id := .PlainText | lower | replaceRE "[^a-z0-9]+" "-" | replaceRE "^-|-$" "" }}{{ .Text | safeHTML }}{{ if eq .Page.Layout "terms" }}{{ end }}