Skip to content

Commit cb97e4a

Browse files
author
GitHub Actions
committed
Update the doc on changing RHDH logo
1 parent 8bca66b commit cb97e4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/customizing-the-appearance/proc-customize-rhdh-branding-logo.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ You can format the `BASE64_EMBEDDED_FULL_LOGO` environment variable as follows:
2424
+
2525
[source,yaml,subs="+quotes"]
2626
----
27-
BASE64_EMBEDDED_FULL_LOGO: "data:image/svg+xml;base64,_<file_base64>_"
27+
BASE64_EMBEDDED_FULL_LOGO: "data:_<media_type>_;base64,_<base64_data>_"
2828
----
2929
+
30-
The following example demonstrates how to customize the `BASE64_EMBEDDED_FULL_LOGO` using the `data:image/svg+xml;base64,_<file_base64>_` format:
30+
The following example demonstrates how to customize the `BASE64_EMBEDDED_FULL_LOGO` using the `data:_<media_type>_;base64,_<base64_data>_` format:
3131
+
3232
[source,yaml,subs="+quotes"]
3333
----
3434
SVGLOGOBASE64=$(base64 -i logo.svg)
3535
BASE64_EMBEDDED_FULL_LOGO="data:image/svg+xml;base64,$SVGLOGOBASE64"
3636
----
37+
Replace `image/svg+xml` with the correct media type for your image (for example `image/png` and `image/jpeg`), and adjust the file extension accordingly. As a result, you can embed the logo directly without referencing an external file.
3738

3839
You can also customize the width of the branding logo by setting a value for the `fullLogoWidth` field in the `branding` section, as shown in the following example:
3940

0 commit comments

Comments
 (0)