Skip to content

Commit e6785de

Browse files
authored
Ensure footer aligns between docs pages and "main site" (llm-d#420)
Signed-off-by: Pete Cheslock <pete.cheslock@redhat.com>
1 parent 2a1d547 commit e6785de

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

docusaurus.config.js

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ const config = {
262262
// Config for footer here
263263
footer: {
264264
style: "dark",
265-
copyright: `Copyright llm-d a Series of LF Projects, LLC. Apache 2.0 License.<br />\
266-
We are a Cloud Native Computing Foundation sandbox project.<br />\
267-
For website terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org/policies/" target="_blank" rel="noreferrer noopener">https://lfprojects.org/policies/</a>`,
268265
logo: {
269266
alt: "llm-d Logo",
270267
src: "img/cncf-white.png",
@@ -295,25 +292,21 @@ const config = {
295292
title: "Community",
296293
items: [
297294
{
298-
label: "Contact us",
299-
href: "/community",
295+
html: '<a href="/community" class="footer__link-item">Contact us</a>',
300296
},
301297
{
302-
label: "Contributing",
303-
href: "/community/contribute",
298+
html: '<a href="/community/contribute" class="footer__link-item">Contributing</a>',
304299
},
305300
{
306-
label: "Code of Conduct",
307-
href: "/community/code-of-conduct",
301+
html: '<a href="/community/code-of-conduct" class="footer__link-item">Code of Conduct</a>',
308302
},
309303
],
310304
},
311305
{
312306
title: "More",
313307
items: [
314308
{
315-
label: "Blog",
316-
to: "/blog",
309+
html: '<a href="/blog" class="footer__link-item">Blog</a>',
317310
},
318311
{
319312
label: "Privacy Policy",
@@ -365,7 +358,9 @@ const config = {
365358
],
366359
},
367360
],
368-
copyright: `Copyright llm-d a Series of LF Projects, LLC. Apache 2.0 License.`,
361+
copyright: `Copyright llm-d a Series of LF Projects, LLC. Apache 2.0 License.<br />\
362+
We are a Cloud Native Computing Foundation sandbox project.<br />\
363+
For website terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org/policies/" target="_blank" rel="noreferrer noopener">https://lfprojects.org/policies/</a>`,
369364
},
370365
prism: {
371366
theme: prismThemes.vsLight,

preview/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ const config: Config = {
400400
],
401401
},
402402
],
403-
copyright: `Copyright © ${new Date().getFullYear()} llm-d project. Apache 2.0 License.<br />\
403+
copyright: `Copyright llm-d a Series of LF Projects, LLC. Apache 2.0 License.<br />\
404404
We are a Cloud Native Computing Foundation sandbox project.<br />\
405405
For website terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org/policies/" target="_blank" rel="noreferrer noopener">https://lfprojects.org/policies/</a>`,
406406
logo: {

0 commit comments

Comments
 (0)