Skip to content

Commit 4068d67

Browse files
tanberryTana M BerryBeryJu
authored
website: remove the last updated option from footer (goauthentik#13493)
* really remove the last updated option * fix background colour in different themes Signed-off-by: Jens Langhammer <[email protected]> --------- Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Tana M Berry <[email protected]> Co-authored-by: Jens Langhammer <[email protected]>
1 parent ab6595b commit 4068d67

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CODE_OF_CONDUCT.md

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

website/docusaurus.config.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ const createConfig = (): Config => {
103103
docs: {
104104
id: "docs",
105105
sidebarPath: "./sidebars.js",
106-
showLastUpdateTime:
107-
process.env.GIT_UNAVAILABLE != "true",
106+
showLastUpdateTime: false,
108107
editUrl:
109108
"https://github.com/goauthentik/authentik/edit/main/website/",
110109
docItemComponent: "@theme/ApiItem",

website/src/theme/EditMetaRow/styles.module.css

+9-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,17 @@
2424
padding-bottom: 8px;
2525
}
2626

27+
html {
28+
--edit-this-page-background: var(--ifm-color-secondary-lighter);
29+
}
30+
31+
html[data-theme="dark"] {
32+
--edit-this-page-background: var(--ifm-color-secondary-contrast-background);
33+
}
34+
2735
.admonitionContrib {
2836
--ifm-h5-font-size: 1rem;
29-
--ifm-alert-background-color: var(--ifm-color-secondary-lighter);
37+
--ifm-alert-background-color: var(--edit-this-page-background);
3038
display: block;
3139
border-left-style: none;
3240

0 commit comments

Comments
 (0)