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 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 }}