website: remove the last updated option from footer (#13493)

* really remove the last updated option

* fix background colour in different themes

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Tana M Berry <tana@goauthentik.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Tana M Berry
2025-03-12 13:59:21 -05:00
committed by GitHub
parent ab6595b597
commit 4068d67424
3 changed files with 11 additions and 4 deletions

View File

@ -5,7 +5,7 @@
We as members, contributors, and leaders pledge to make participation in our We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status, identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, religion, or sexual identity nationality, personal appearance, race, religion, or sexual identity
and orientation. and orientation.

View File

@ -103,8 +103,7 @@ const createConfig = (): Config => {
docs: { docs: {
id: "docs", id: "docs",
sidebarPath: "./sidebars.js", sidebarPath: "./sidebars.js",
showLastUpdateTime: showLastUpdateTime: false,
process.env.GIT_UNAVAILABLE != "true",
editUrl: editUrl:
"https://github.com/goauthentik/authentik/edit/main/website/", "https://github.com/goauthentik/authentik/edit/main/website/",
docItemComponent: "@theme/ApiItem", docItemComponent: "@theme/ApiItem",

View File

@ -24,9 +24,17 @@
padding-bottom: 8px; padding-bottom: 8px;
} }
html {
--edit-this-page-background: var(--ifm-color-secondary-lighter);
}
html[data-theme="dark"] {
--edit-this-page-background: var(--ifm-color-secondary-contrast-background);
}
.admonitionContrib { .admonitionContrib {
--ifm-h5-font-size: 1rem; --ifm-h5-font-size: 1rem;
--ifm-alert-background-color: var(--ifm-color-secondary-lighter); --ifm-alert-background-color: var(--edit-this-page-background);
display: block; display: block;
border-left-style: none; border-left-style: none;