Open jeoffreyfischer opened 7 months ago
As per my conversation with @hveraus, Ken will create some mockups for this feature and link them in this issue once they are ready
@jeoffreyfischer @johnxu16 @andrewwaltosssw
Hi guys, I am thinking of just adding a new sentence after the deployment.
"Content updated on May 2, 2024. " and make the date clickable.
@jeoffreyfischer @johnxu16 @andrewwaltosssw
Hi guys, I am thinking of just adding a new sentence after the deployment.
"Content updated on May 2, 2024. " and make the date clickable.
This footer exists in all pages. Do we only need this on home page or every page?
For fetching the actual date of the home.mdx updated, we may utilize github api for fetching it which add unexpected complexity. Can we change "Content updated on May 2, 2024" to something like "Page update history"
Note: If it is required to get the latest update time of a specific file, we can use github graphql api as follows
Tested on https://docs.github.com/en/graphql/overview/explorer
query {
repository(owner: "SSWConsulting", name: "SSW.Website"){
defaultBranchRef {
name
target {
... on Commit {
history(path: "content/pages/home.mdx", first: 1) {
nodes {
author {
name
}
abbreviatedOid
committedDate
}
}
}
}
}
}
}
https://www.ssw.com.au/
Description As per my conversation with @adamcogan, we need to create a button to see the history of who modified the SSW homepage. The button should link to
https://github.com/SSWConsulting/SSW.Website/commits/main/https://github.com/SSWConsulting/SSW.Website/commits/main/content/pages/home.mdxScreenshot
Figure: SSW Homepage